Skip to content

Commit

Permalink
[PATCH] aty: remove unnecessary CONFIG_PCI
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Richard Knutsson authored and Linus Torvalds committed Jan 10, 2006
1 parent 2b4f2f4 commit 8416131
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit 8416131

Please sign in to comment.