summaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3-sys-manager.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-06-10 06:39:00 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-15 08:47:25 +0200
commita469f563d6eec9ef68da9b4aed708e7f6ecabd51 (patch)
tree6990c3d97ca060277067a00906ffb86a4427d304 /drivers/ps3/ps3-sys-manager.c
parentps3fb: Use ps3_system_bus_[gs]et_drvdata() instead of direct access (diff)
downloadlinux-a469f563d6eec9ef68da9b4aed708e7f6ecabd51.tar.xz
linux-a469f563d6eec9ef68da9b4aed708e7f6ecabd51.zip
drivers/ps3: Add missing annotations
probe functions should be __devinit initialization functions should be __init Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: Geoff Levand <geoffrey.levand@am.sony.com> Acked-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/ps3/ps3-sys-manager.c')
-rw-r--r--drivers/ps3/ps3-sys-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ps3/ps3-sys-manager.c b/drivers/ps3/ps3-sys-manager.c
index f17513dd9d4b..88cb74088611 100644
--- a/drivers/ps3/ps3-sys-manager.c
+++ b/drivers/ps3/ps3-sys-manager.c
@@ -706,7 +706,7 @@ static void ps3_sys_manager_work(struct ps3_system_bus_device *dev)
ps3_vuart_read_async(dev, PS3_SM_RX_MSG_LEN_MIN);
}
-static int ps3_sys_manager_probe(struct ps3_system_bus_device *dev)
+static int __devinit ps3_sys_manager_probe(struct ps3_system_bus_device *dev)
{
int result;
struct ps3_sys_manager_ops ops;