Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 815b043d authored by Danny Kukawka's avatar Danny Kukawka Committed by Greg Kroah-Hartman
Browse files

cs5535-mfgpt: don't call __init function from __devinit



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: default avatarDanny Kukawka <danny.kukawka@bisect.de>
Acked-by: default avatarAndres Salomon <dilinger@queued.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a3dc3c9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;