cbus/retu-pwrbutton : Use __initdata
PATCH 2/6 cbus/retu-pwrbutton : Use __initdata
Move printk string to __initdata from retubutton_init()
Signed-off-by Komal Shah <[email protected]>
---Komal Shah
http://komalshah.blogspot.com/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
drivers/cbus/retu-pwrbutton.c +3 -1
@@ -69,6 +69,8 @@ static void retubutton_irq(unsigned longmod_timer (&pwrbtn_timer, jiffies +msecs_to_jiffies (PWRBTN_DELAY )); } +static char banner[]__initdata =KERN_INFO "Retu power button driver initialized\n" ; +/** * Init function. * Allocates interrupt for power button and registers itself to input layer.
@@ -77,7 +79,7 @@ static int __init retubutton_init(void) {int irq; -printk (KERN_INFO "Retu power button driver initialized\n" ); +printk (banner); irq =RETU_INT_PWR ;init_timer (&pwrbtn_timer);