mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
parisc: eisa: Convert HP EISA bus driver to use arch_initcall()
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
49663185d0
commit
5f4f870a44
@ -319,7 +319,6 @@ extern void ccio_init(void);
|
||||
extern void iosapic_init(void);
|
||||
extern void lba_init(void);
|
||||
extern void sba_init(void);
|
||||
extern void parisc_eisa_init(void);
|
||||
struct parisc_device;
|
||||
struct resource;
|
||||
extern void sba_distributed_lmmio(struct parisc_device *, struct resource *);
|
||||
|
@ -303,9 +303,6 @@ static int __init parisc_init(void)
|
||||
#if defined(CONFIG_GSC_LASI) || defined(CONFIG_GSC_WAX)
|
||||
gsc_init();
|
||||
#endif
|
||||
#ifdef CONFIG_EISA
|
||||
parisc_eisa_init();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CHASSIS_LCD_LED
|
||||
register_led_regions(); /* register LED port info in procfs */
|
||||
|
@ -400,10 +400,11 @@ static struct parisc_driver eisa_driver __refdata = {
|
||||
.probe = eisa_probe,
|
||||
};
|
||||
|
||||
void __init parisc_eisa_init(void)
|
||||
static int __init parisc_eisa_init(void)
|
||||
{
|
||||
register_parisc_driver(&eisa_driver);
|
||||
return register_parisc_driver(&eisa_driver);
|
||||
}
|
||||
arch_initcall(parisc_eisa_init);
|
||||
|
||||
|
||||
static unsigned int eisa_irq_configured;
|
||||
|
Loading…
Reference in New Issue
Block a user