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);
extern void gsc_init(void);
extern void processor_init(void);
extern void ccio_init(void);
extern void hppb_init(void);
extern void iosapic_init(void);
extern void lba_init(void);
extern void sba_init(void);
......
......@@ -307,10 +307,6 @@ static int __init parisc_init(void)
parisc_eisa_init();
#endif
#if defined(CONFIG_HPPB)
hppb_init();
#endif
#ifdef CONFIG_CHASSIS_LCD_LED
register_led_regions(); /* register LED port info in procfs */
#endif
......
......@@ -96,9 +96,10 @@ static struct parisc_driver hppb_driver __refdata = {
/**
* hppb_init - HP-PB bus initialization procedure.
*
* 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