Skip to content

Commit 7ce3ab1

Browse files
Alexey Dobriyantorvalds
authored andcommitted
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>
1 parent affc23d commit 7ce3ab1

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

‎drivers/video/riva/fbdev.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@
5656
#include "rivafb.h"
5757
#include "nvreg.h"
5858

59-
#ifndef CONFIG_PCI /* sanity check */
60-
#error This driver requires PCI support.
61-
#endif
62-
6359
/* version number of this driver */
6460
#define RIVAFB_VERSION "0.9.5b"
6561

‎drivers/video/riva/nv_driver.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
#include "rivafb.h"
4242
#include "nvreg.h"
4343

44-
45-
#ifndef CONFIG_PCI /* sanity check */
46-
#error This driver requires PCI support.
47-
#endif
48-
4944
#define PFX "rivafb: "
5045

5146
static inline unsigned char MISCin(struct riva_par *par)

0 commit comments

Comments
 (0)