Commit 07c34e9f authored by Helge Deller's avatar Helge Deller

parisc: dino: Convert dino PCI bus driver to use arch_initcall()

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 59bf860a
...@@ -317,7 +317,6 @@ extern void gsc_init(void); ...@@ -317,7 +317,6 @@ extern void gsc_init(void);
extern void processor_init(void); extern void processor_init(void);
extern void ccio_init(void); extern void ccio_init(void);
extern void hppb_init(void); extern void hppb_init(void);
extern void dino_init(void);
extern void iosapic_init(void); extern void iosapic_init(void);
extern void lba_init(void); extern void lba_init(void);
extern void sba_init(void); extern void sba_init(void);
......
...@@ -311,10 +311,6 @@ static int __init parisc_init(void) ...@@ -311,10 +311,6 @@ static int __init parisc_init(void)
hppb_init(); hppb_init();
#endif #endif
#if defined(CONFIG_GSC_DINO)
dino_init();
#endif
#ifdef CONFIG_CHASSIS_LCD_LED #ifdef CONFIG_CHASSIS_LCD_LED
register_led_regions(); /* register LED port info in procfs */ register_led_regions(); /* register LED port info in procfs */
#endif #endif
......
...@@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = { ...@@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = {
* This is the only routine which is NOT static. * This is the only routine which is NOT static.
* Must be called exactly once before pci_init(). * 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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment