Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
* to it. We implement a sloppy work around for backporting
* this.
*/
+#ifdef CONFIG_PCI
int pci_enable_device_mem(struct pci_dev *dev)
{
int bars = pci_select_bars(dev, IORESOURCE_MEM);
return pci_enable_device_bars(dev, bars);
}
EXPORT_SYMBOL_GPL(pci_enable_device_mem);
+#endif
/**
* The following things are out of ./lib/vsprintf.c
#include <linux/usb.h>
#include <linux/tty.h>
#include <linux/skbuff.h>
+#include <linux/pci.h>
#include <asm/poll.h>
/* 2.6.28 compat code goes here */