Skip to content

Commit

Permalink
fbdev: nv: drop useless CONFIG_PCI checks
Browse files Browse the repository at this point in the history
Both FB_RIVA and FB_NVIDIA depends on PCI, so CONFIG_PCI always defined for
them.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Apr 28, 2008
1 parent affc23d commit 7ce3ab1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions drivers/video/riva/fbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@
#include "rivafb.h"
#include "nvreg.h"

#ifndef CONFIG_PCI /* sanity check */
#error This driver requires PCI support.
#endif

/* version number of this driver */
#define RIVAFB_VERSION "0.9.5b"

Expand Down
5 changes: 0 additions & 5 deletions drivers/video/riva/nv_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
#include "rivafb.h"
#include "nvreg.h"


#ifndef CONFIG_PCI /* sanity check */
#error This driver requires PCI support.
#endif

#define PFX "rivafb: "

static inline unsigned char MISCin(struct riva_par *par)
Expand Down

0 comments on commit 7ce3ab1

Please sign in to comment.