File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,6 @@ extern void ccio_init(void);
319319extern void iosapic_init (void );
320320extern void lba_init (void );
321321extern void sba_init (void );
322- extern void parisc_eisa_init (void );
323322struct parisc_device ;
324323struct resource ;
325324extern void sba_distributed_lmmio (struct parisc_device * , struct resource * );
Original file line number Diff line number Diff line change @@ -303,9 +303,6 @@ static int __init parisc_init(void)
303303#if defined(CONFIG_GSC_LASI ) || defined(CONFIG_GSC_WAX )
304304 gsc_init ();
305305#endif
306- #ifdef CONFIG_EISA
307- parisc_eisa_init ();
308- #endif
309306
310307#ifdef CONFIG_CHASSIS_LCD_LED
311308 register_led_regions (); /* register LED port info in procfs */
Original file line number Diff line number Diff line change @@ -400,10 +400,11 @@ static struct parisc_driver eisa_driver __refdata = {
400400 .probe = eisa_probe ,
401401};
402402
403- void __init parisc_eisa_init (void )
403+ static int __init parisc_eisa_init (void )
404404{
405- register_parisc_driver (& eisa_driver );
405+ return register_parisc_driver (& eisa_driver );
406406}
407+ arch_initcall (parisc_eisa_init );
407408
408409
409410static unsigned int eisa_irq_configured ;
You can’t perform that action at this time.
0 commit comments