Commit f9031f2c authored by Catalin Marinas's avatar Catalin Marinas Committed by Greg Kroah-Hartman

USB: Make the isp1760_register function prototype more generic

The patch changes the prototype of the isp1760_register() function to use
predefined types like phys_addr_t and resource_size_t rather than u64
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a2c2706e
...@@ -2235,9 +2235,10 @@ void deinit_kmem_cache(void) ...@@ -2235,9 +2235,10 @@ void deinit_kmem_cache(void)
kmem_cache_destroy(qh_cachep); kmem_cache_destroy(qh_cachep);
} }
struct usb_hcd *isp1760_register(u64 res_start, u64 res_len, int irq, struct usb_hcd *isp1760_register(phys_addr_t res_start, resource_size_t res_len,
u64 irqflags, struct device *dev, const char *busname, int irq, unsigned long irqflags,
unsigned int devflags) struct device *dev, const char *busname,
unsigned int devflags)
{ {
struct usb_hcd *hcd; struct usb_hcd *hcd;
struct isp1760_hcd *priv; struct isp1760_hcd *priv;
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
#define _ISP1760_HCD_H_ #define _ISP1760_HCD_H_
/* exports for if */ /* exports for if */
struct usb_hcd *isp1760_register(u64 res_start, u64 res_len, int irq, struct usb_hcd *isp1760_register(phys_addr_t res_start, resource_size_t res_len,
u64 irqflags, struct device *dev, const char *busname, int irq, unsigned long irqflags,
unsigned int devflags); struct device *dev, const char *busname,
unsigned int devflags);
int init_kmem_once(void); int init_kmem_once(void);
void deinit_kmem_cache(void); void deinit_kmem_cache(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment