Commit 7ce3ab10 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

fbdev: nv: drop useless CONFIG_PCI checks

Both FB_RIVA and FB_NVIDIA depends on PCI, so CONFIG_PCI always defined for
them.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent affc23d1
...@@ -56,10 +56,6 @@ ...@@ -56,10 +56,6 @@
#include "rivafb.h" #include "rivafb.h"
#include "nvreg.h" #include "nvreg.h"
#ifndef CONFIG_PCI /* sanity check */
#error This driver requires PCI support.
#endif
/* version number of this driver */ /* version number of this driver */
#define RIVAFB_VERSION "0.9.5b" #define RIVAFB_VERSION "0.9.5b"
......
...@@ -41,11 +41,6 @@ ...@@ -41,11 +41,6 @@
#include "rivafb.h" #include "rivafb.h"
#include "nvreg.h" #include "nvreg.h"
#ifndef CONFIG_PCI /* sanity check */
#error This driver requires PCI support.
#endif
#define PFX "rivafb: " #define PFX "rivafb: "
static inline unsigned char MISCin(struct riva_par *par) static inline unsigned char MISCin(struct riva_par *par)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment