X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fxen%2Fxen-pciback%2Fconf_space.c;h=bb8cb697f65a197daaf2b9f67d43f1f198dcff7c;hb=56481c2920bb35e8a0b8abd55eeb5e52e8bce042;hp=444345afbd5cfa92b8a1b3b9877ab14108bbf73c;hpb=3d0a8d10cfb4cc3d1877c29a866ee7d8a46aa2fa;p=pandora-kernel.git diff --git a/drivers/xen/xen-pciback/conf_space.c b/drivers/xen/xen-pciback/conf_space.c index 444345afbd5c..bb8cb697f65a 100644 --- a/drivers/xen/xen-pciback/conf_space.c +++ b/drivers/xen/xen-pciback/conf_space.c @@ -10,13 +10,14 @@ */ #include +#include #include #include "pciback.h" #include "conf_space.h" #include "conf_space_quirks.h" -static int permissive; -module_param(permissive, bool, 0644); +bool xen_pcibk_permissive; +module_param_named(permissive, xen_pcibk_permissive, bool, 0644); /* This is where xen_pcibk_read_config_byte, xen_pcibk_read_config_word, * xen_pcibk_write_config_word, and xen_pcibk_write_config_byte are created. */ @@ -261,7 +262,7 @@ int xen_pcibk_config_write(struct pci_dev *dev, int offset, int size, u32 value) * This means that some fields may still be read-only because * they have entries in the config_field list that intercept * the write and do nothing. */ - if (dev_data->permissive || permissive) { + if (dev_data->permissive || xen_pcibk_permissive) { switch (size) { case 1: err = pci_write_config_byte(dev, offset,