Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Machine specific setup for generic
*/
+#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <xen/gnttab.h>
#include "pcifront.h"
+#ifndef __init_refok
+#define __init_refok
+#endif
+
#define INVALID_GRANT_REF (0)
#define INVALID_EVTCHN (-1)
static int pcifront_detach_devices(struct pcifront_device *pdev)
{
- int err;
+ int err = 0;
int i, num_devs;
unsigned int domain, bus, slot, func;
struct pci_bus *pci_bus;