Skip to content

Commit

Permalink
drivers/ps3: Add missing annotations
Browse files Browse the repository at this point in the history
probe functions should be __devinit
initialization functions should be __init

Signed-off-by: Geert Uytterhoeven <[email protected]>
Cc: Geoff Levand <[email protected]>
Acked-by: Geoff Levand <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
  • Loading branch information
Geert Uytterhoeven authored and ozbenh committed Jun 15, 2009
1 parent cd4a157 commit a469f56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/ps3/ps3-sys-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions drivers/ps3/ps3av.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit a469f56

Please sign in to comment.