mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
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: Catalin Marinas <catalin.marinas@arm.com> Cc: Sebastian Siewior <bigeasy@linutronix.de> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a2c2706e10
commit
f9031f2c42
@ -2235,9 +2235,10 @@ void deinit_kmem_cache(void)
|
||||
kmem_cache_destroy(qh_cachep);
|
||||
}
|
||||
|
||||
struct usb_hcd *isp1760_register(u64 res_start, u64 res_len, int irq,
|
||||
u64 irqflags, struct device *dev, const char *busname,
|
||||
unsigned int devflags)
|
||||
struct usb_hcd *isp1760_register(phys_addr_t res_start, resource_size_t res_len,
|
||||
int irq, unsigned long irqflags,
|
||||
struct device *dev, const char *busname,
|
||||
unsigned int devflags)
|
||||
{
|
||||
struct usb_hcd *hcd;
|
||||
struct isp1760_hcd *priv;
|
||||
|
@ -2,9 +2,10 @@
|
||||
#define _ISP1760_HCD_H_
|
||||
|
||||
/* exports for if */
|
||||
struct usb_hcd *isp1760_register(u64 res_start, u64 res_len, int irq,
|
||||
u64 irqflags, struct device *dev, const char *busname,
|
||||
unsigned int devflags);
|
||||
struct usb_hcd *isp1760_register(phys_addr_t res_start, resource_size_t res_len,
|
||||
int irq, unsigned long irqflags,
|
||||
struct device *dev, const char *busname,
|
||||
unsigned int devflags);
|
||||
int init_kmem_once(void);
|
||||
void deinit_kmem_cache(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user