mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 13:25:20 +02:00
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 gsc_init(void);
|
||||||
extern void processor_init(void);
|
extern void processor_init(void);
|
||||||
extern void ccio_init(void);
|
extern void ccio_init(void);
|
||||||
extern void hppb_init(void);
|
|
||||||
extern void iosapic_init(void);
|
extern void iosapic_init(void);
|
||||||
extern void lba_init(void);
|
extern void lba_init(void);
|
||||||
extern void sba_init(void);
|
extern void sba_init(void);
|
||||||
|
|
|
@ -307,10 +307,6 @@ static int __init parisc_init(void)
|
||||||
parisc_eisa_init();
|
parisc_eisa_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_HPPB)
|
|
||||||
hppb_init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_CHASSIS_LCD_LED
|
#ifdef CONFIG_CHASSIS_LCD_LED
|
||||||
register_led_regions(); /* register LED port info in procfs */
|
register_led_regions(); /* register LED port info in procfs */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -98,7 +98,8 @@ static struct parisc_driver hppb_driver __refdata = {
|
||||||
*
|
*
|
||||||
* 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