Skip to content

Commit

Permalink
video: fbdev: cyber2000fb: remove superfluous CONFIG_PCI ifdef
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jun 7, 2019
1 parent 767ceab commit 66019bc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/video/fbdev/cyber2000fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1641,10 +1641,6 @@ static void cyberpro_common_resume(struct cfb_info *cfb)
cyber2000fb_set_par(&cfb->fb);
}

/*
* 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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 66019bc

Please sign in to comment.