#include <linux/pci.h>
#include <linux/printk.h>
#include <linux/screen_info.h>
#include <linux/string.h>
static struct pci_dev *screen_info_lfb_pdev;
static size_t screen_info_lfb_bar;
static resource_size_t screen_info_lfb_offset;
static struct resource screen_info_lfb_res = …;
static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr)
{ … }
void screen_info_apply_fixups(void)
{ … }
static void screen_info_fixup_lfb(struct pci_dev *pdev)
{ … }
DECLARE_PCI_FIXUP_CLASS_HEADER(PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY, 16,
screen_info_fixup_lfb);
static struct pci_dev *__screen_info_pci_dev(struct resource *res)
{ … }
struct pci_dev *screen_info_pci_dev(const struct screen_info *si)
{ … }
EXPORT_SYMBOL(…);