Commit a469f563 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Benjamin Herrenschmidt

drivers/ps3: Add missing annotations

probe functions should be __devinit
initialization functions should be __init
Signed-off-by: default avatarGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Geoff Levand <geoffrey.levand@am.sony.com>
Acked-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent cd4a157d
...@@ -706,7 +706,7 @@ static void ps3_sys_manager_work(struct ps3_system_bus_device *dev) ...@@ -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); 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; int result;
struct ps3_sys_manager_ops ops; struct ps3_sys_manager_ops ops;
......
...@@ -937,7 +937,7 @@ int ps3av_audio_mute(int mute) ...@@ -937,7 +937,7 @@ int ps3av_audio_mute(int mute)
EXPORT_SYMBOL_GPL(ps3av_audio_mute); EXPORT_SYMBOL_GPL(ps3av_audio_mute);
static int ps3av_probe(struct ps3_system_bus_device *dev) static int __devinit ps3av_probe(struct ps3_system_bus_device *dev)
{ {
int res; int res;
int id; int id;
...@@ -1048,7 +1048,7 @@ static struct ps3_vuart_port_driver ps3av_driver = { ...@@ -1048,7 +1048,7 @@ static struct ps3_vuart_port_driver ps3av_driver = {
.shutdown = ps3av_shutdown, .shutdown = ps3av_shutdown,
}; };
static int ps3av_module_init(void) static int __init ps3av_module_init(void)
{ {
int error; int error;
......
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