]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: Make the isp1760_register function prototype more generic
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 10 Feb 2009 16:55:45 +0000 (16:55 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:31 +0000 (16:20 -0700)
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>
drivers/usb/host/isp1760-hcd.c
drivers/usb/host/isp1760-hcd.h

index b899f1a59c262fd322b5b44caace1f8d6948b5ac..8ee2f41598456024c1af8a5419ab4df9a204161d 100644 (file)
@@ -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;
index a9daea5879627d7d3e27a2a1572f2b3b326fbc22..462f4943cb1b8d4d65cb3675a6bc9a2ae40d968c 100644 (file)
@@ -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);