diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2009-06-10 04:39:00 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-15 16:47:25 +1000 |
commit | a469f563d6eec9ef68da9b4aed708e7f6ecabd51 (patch) | |
tree | 6990c3d97ca060277067a00906ffb86a4427d304 /drivers/ps3/ps3av.c | |
parent | cd4a157d769311964717d5c7cfc0c34426d090b4 (diff) | |
download | kernel_goldelico_gta04-a469f563d6eec9ef68da9b4aed708e7f6ecabd51.zip kernel_goldelico_gta04-a469f563d6eec9ef68da9b4aed708e7f6ecabd51.tar.gz kernel_goldelico_gta04-a469f563d6eec9ef68da9b4aed708e7f6ecabd51.tar.bz2 |
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/ps3av.c')
-rw-r--r-- | drivers/ps3/ps3av.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c index 4e4611e..e82d8c9 100644 --- a/drivers/ps3/ps3av.c +++ b/drivers/ps3/ps3av.c @@ -937,7 +937,7 @@ int ps3av_audio_mute(int 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 id; @@ -1048,7 +1048,7 @@ static struct ps3_vuart_port_driver ps3av_driver = { .shutdown = ps3av_shutdown, }; -static int ps3av_module_init(void) +static int __init ps3av_module_init(void) { int error; |