aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-ps3.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-06-10 00:38:59 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-16 00:17:32 -0400
commit313485175da221c388f6a8ecf4c30062ba9bea17 (patch)
tree180dd78a013c0741c5415af15a075b9548b0667d /drivers/usb/host/ohci-ps3.c
parent2fae0a524b193e200b71778407ad29b22417056a (diff)
usb/ps3: Add missing annotations
probe functions should be __devinit initialization functions should be __init Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/usb/host/ohci-ps3.c')
-rw-r--r--drivers/usb/host/ohci-ps3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-ps3.c b/drivers/usb/host/ohci-ps3.c
index 1d56259c5db1..700950455f4d 100644
--- a/drivers/usb/host/ohci-ps3.c
+++ b/drivers/usb/host/ohci-ps3.c
@@ -75,7 +75,7 @@ static const struct hc_driver ps3_ohci_hc_driver = {
75#endif 75#endif
76}; 76};
77 77
78static int ps3_ohci_probe(struct ps3_system_bus_device *dev) 78static int __devinit ps3_ohci_probe(struct ps3_system_bus_device *dev)
79{ 79{
80 int result; 80 int result;
81 struct usb_hcd *hcd; 81 struct usb_hcd *hcd;
@@ -224,7 +224,7 @@ static int ps3_ohci_remove(struct ps3_system_bus_device *dev)
224 return 0; 224 return 0;
225} 225}
226 226
227static int ps3_ohci_driver_register(struct ps3_system_bus_driver *drv) 227static int __init ps3_ohci_driver_register(struct ps3_system_bus_driver *drv)
228{ 228{
229 return firmware_has_feature(FW_FEATURE_PS3_LV1) 229 return firmware_has_feature(FW_FEATURE_PS3_LV1)
230 ? ps3_system_bus_driver_register(drv) 230 ? ps3_system_bus_driver_register(drv)