parisc: dino: Convert dino PCI bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Родитель
59bf860a97
Коммит
07c34e9fdc
|
@ -317,7 +317,6 @@ extern void gsc_init(void);
|
|||
extern void processor_init(void);
|
||||
extern void ccio_init(void);
|
||||
extern void hppb_init(void);
|
||||
extern void dino_init(void);
|
||||
extern void iosapic_init(void);
|
||||
extern void lba_init(void);
|
||||
extern void sba_init(void);
|
||||
|
|
|
@ -311,10 +311,6 @@ static int __init parisc_init(void)
|
|||
hppb_init();
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_GSC_DINO)
|
||||
dino_init();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CHASSIS_LCD_LED
|
||||
register_led_regions(); /* register LED port info in procfs */
|
||||
#endif
|
||||
|
|
|
@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = {
|
|||
* This is the only routine which is NOT static.
|
||||
* Must be called exactly once before pci_init().
|
||||
*/
|
||||
void __init dino_init(void)
|
||||
static int __init dino_init(void)
|
||||
{
|
||||
register_parisc_driver(&dino_driver);
|
||||
return register_parisc_driver(&dino_driver);
|
||||
}
|
||||
|
||||
arch_initcall(dino_init);
|
||||
|
|
Загрузка…
Ссылка в новой задаче