cs5535-mfgpt: don't call __init function from __devinit
Fix scan_timers() to be __devinit and not __init since the function get called from cs5535_mfgpt_probe which is __devinit. Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
3e5ba466d5
Коммит
474de3bbad
|
@ -262,7 +262,7 @@ static void __init reset_all_timers(void)
|
|||
* In other cases (such as with VSAless OpenFirmware), the system firmware
|
||||
* leaves timers available for us to use.
|
||||
*/
|
||||
static int __init scan_timers(struct cs5535_mfgpt_chip *mfgpt)
|
||||
static int __devinit scan_timers(struct cs5535_mfgpt_chip *mfgpt)
|
||||
{
|
||||
struct cs5535_mfgpt_timer timer = { .chip = mfgpt };
|
||||
unsigned long flags;
|
||||
|
|
Загрузка…
Ссылка в новой задаче