Commit 49663185 authored by Helge Deller's avatar Helge Deller

parisc: hppb: Convert HP PB bus driver to use arch_initcall()

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 07c34e9f
...@@ -316,7 +316,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v); ...@@ -316,7 +316,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
extern void gsc_init(void); 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 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);
......
...@@ -307,10 +307,6 @@ static int __init parisc_init(void) ...@@ -307,10 +307,6 @@ static int __init parisc_init(void)
parisc_eisa_init(); parisc_eisa_init();
#endif #endif
#if defined(CONFIG_HPPB)
hppb_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
......
...@@ -98,7 +98,8 @@ static struct parisc_driver hppb_driver __refdata = { ...@@ -98,7 +98,8 @@ static struct parisc_driver hppb_driver __refdata = {
* *
* Register this driver. * Register this driver.
*/ */
void __init hppb_init(void) static int __init hppb_init(void)
{ {
register_parisc_driver(&hppb_driver); return register_parisc_driver(&hppb_driver);
} }
arch_initcall(hppb_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