From: Richard Knutsson Signed-off-by: Richard Knutsson Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton --- drivers/video/aty/atyfb_base.c | 4 ---- 1 files changed, 4 deletions(-) diff -puN drivers/video/aty/atyfb_base.c~aty-remove-unnecessary-config_pci drivers/video/aty/atyfb_base.c --- devel/drivers/video/aty/atyfb_base.c~aty-remove-unnecessary-config_pci 2005-11-16 15:57:47.000000000 -0800 +++ devel-akpm/drivers/video/aty/atyfb_base.c 2005-11-16 15:57:47.000000000 -0800 @@ -3692,9 +3692,7 @@ static int __init atyfb_init(void) atyfb_setup(option); #endif -#ifdef CONFIG_PCI pci_register_driver(&atyfb_driver); -#endif #ifdef CONFIG_ATARI atyfb_atari_probe(); #endif @@ -3703,9 +3701,7 @@ static int __init atyfb_init(void) static void __exit atyfb_exit(void) { -#ifdef CONFIG_PCI pci_unregister_driver(&atyfb_driver); -#endif } module_init(atyfb_init); _