summaryrefslogtreecommitdiff
path: root/drivers/xen/xen-pciback/conf_space.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-04-12 23:26:35 (GMT)
committerDavid Vrabel <david.vrabel@citrix.com>2015-04-29 16:34:50 (GMT)
commit8014bcc86ef112eab9ee1db312dba4e6b608cf89 (patch)
treeedb75ea07db0ae0fdd94c91d7c82c0eed94d5a76 /drivers/xen/xen-pciback/conf_space.h
parent2b953a5e994ce279904ec70220f7d4f31d380a0a (diff)
downloadlinux-8014bcc86ef112eab9ee1db312dba4e6b608cf89.tar.xz
xen-pciback: Add name prefix to global 'permissive' variable
The variable for the 'permissive' module parameter used to be static but was recently changed to be extern. This puts it in the kernel global namespace if the driver is built-in, so its name should begin with a prefix identifying the driver. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Fixes: af6fc858a35b ("xen-pciback: limit guest control of command register") Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/xen-pciback/conf_space.h')
-rw-r--r--drivers/xen/xen-pciback/conf_space.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-pciback/conf_space.h b/drivers/xen/xen-pciback/conf_space.h
index 2e1d73d..62461a8 100644
--- a/drivers/xen/xen-pciback/conf_space.h
+++ b/drivers/xen/xen-pciback/conf_space.h
@@ -64,7 +64,7 @@ struct config_field_entry {
void *data;
};
-extern bool permissive;
+extern bool xen_pcibk_permissive;
#define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset)