diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2019-06-07 14:38:07 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2019-06-07 14:38:07 +0200 |
commit | 66019bc26d2bc9a549a71ec0b4e51f24f5db2fcf (patch) | |
tree | 31c8ddb4f33db1b07c1079a100f26bf109d19f5b | |
parent | video: fbdev: da8xx-fb: add COMPILE_TEST support (diff) | |
download | linux-66019bc26d2bc9a549a71ec0b4e51f24f5db2fcf.tar.xz linux-66019bc26d2bc9a549a71ec0b4e51f24f5db2fcf.zip |
video: fbdev: cyber2000fb: remove superfluous CONFIG_PCI ifdef
This is a PCI driver and FB_CYBER2000 depends on PCI in Kconfig so
there is no need to check for PCI inside the driver code.
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r-- | drivers/video/fbdev/cyber2000fb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/fbdev/cyber2000fb.c b/drivers/video/fbdev/cyber2000fb.c index 9a5751cb4e16..897f4c702398 100644 --- a/drivers/video/fbdev/cyber2000fb.c +++ b/drivers/video/fbdev/cyber2000fb.c @@ -1642,10 +1642,6 @@ static void cyberpro_common_resume(struct cfb_info *cfb) } /* - * PCI specific support. - */ -#ifdef CONFIG_PCI -/* * We need to wake up the CyberPro, and make sure its in linear memory * mode. Unfortunately, this is specific to the platform and card that * we are running on. @@ -1861,7 +1857,6 @@ static struct pci_driver cyberpro_driver = { .resume = cyberpro_pci_resume, .id_table = cyberpro_pci_table }; -#endif /* * I don't think we can use the "module_init" stuff here because |