Skip to content

Commit

Permalink
cs5535-mfgpt: don't call __init function from __devinit
Browse files Browse the repository at this point in the history
Fix and reset_all_timers() to be __devinit and not __init since the
function gets called from cs5535_mfgpt_probe which is __devinit.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Danny Kukawka authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent a3dc3c9 commit 815b043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/cs5535-mfgpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ EXPORT_SYMBOL_GPL(cs5535_mfgpt_write);
* Jordan tells me that he and Mitch once played w/ it, but it's unclear
* what the results of that were (and they experienced some instability).
*/
static void __init reset_all_timers(void)
static void __devinit reset_all_timers(void)
{
uint32_t val, dummy;

Expand Down

0 comments on commit 815b043

Please sign in to comment.