parisc: hppb: Convert HP PB bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
07c34e9fdc
commit
49663185d0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user