forked from Minki/linux
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: 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>
This commit is contained in:
parent
affc23d116
commit
7ce3ab100e
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user