summaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-pciback/conf_space.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-05-18 10:50:43 -0700
committerBrian Norris <computersforpeace@gmail.com>2015-05-18 10:50:43 -0700
commit2ddd8db90a22fc4ac708cd8497ed5e46b7f24d49 (patch)
tree10924a4ec59c9b2d114c2287bd35e6debc72595f /drivers/xen/xen-pciback/conf_space.c
parent02787daadbdad80c9c79487b5ef8284aff734a7b (diff)
parente26081808edadfd257c6c9d81014e3b25e9a6118 (diff)
downloadop-kernel-dev-2ddd8db90a22fc4ac708cd8497ed5e46b7f24d49.zip
op-kernel-dev-2ddd8db90a22fc4ac708cd8497ed5e46b7f24d49.tar.gz
Merge tag 'v4.1-rc4' into MTD's -next
Diffstat (limited to 'drivers/xen/xen-pciback/conf_space.c')
-rw-r--r--drivers/xen/xen-pciback/conf_space.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/xen/xen-pciback/conf_space.c b/drivers/xen/xen-pciback/conf_space.c
index 75fe3d4..9c23420 100644
--- a/drivers/xen/xen-pciback/conf_space.c
+++ b/drivers/xen/xen-pciback/conf_space.c
@@ -16,8 +16,8 @@
#include "conf_space.h"
#include "conf_space_quirks.h"
-bool 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. */
@@ -262,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,
OpenPOWER on IntegriCloud