Commit 07c34e9f authored by Helge Deller's avatar Helge Deller
Browse files

parisc: dino: Convert dino PCI bus driver to use arch_initcall()



Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 59bf860a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -317,7 +317,6 @@ extern void gsc_init(void);
extern void processor_init(void);
extern void ccio_init(void);
extern void hppb_init(void);
extern void dino_init(void);
extern void iosapic_init(void);
extern void lba_init(void);
extern void sba_init(void);
+0 −4
Original line number Diff line number Diff line
@@ -311,10 +311,6 @@ static int __init parisc_init(void)
	hppb_init();
#endif

#if defined(CONFIG_GSC_DINO)
	dino_init();
#endif

#ifdef CONFIG_CHASSIS_LCD_LED
	register_led_regions();	/* register LED port info in procfs */
#endif
+3 −3
Original line number Diff line number Diff line
@@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = {
 * This is the only routine which is NOT static.
 * Must be called exactly once before pci_init().
 */
void __init dino_init(void)
static int __init dino_init(void)
{
	register_parisc_driver(&dino_driver);
	return register_parisc_driver(&dino_driver);
}
arch_initcall(dino_init);