summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/fsl_rio.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2013-07-23 20:52:07 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-07-23 20:59:39 (GMT)
commit286d9a0debaee7e159808aa41a40c5c863295365 (patch)
treee319698a90dd8352b4a62741c66f25bb80ad3d4d /arch/powerpc/sysdev/fsl_rio.c
parentda10e32107ba90d6f481981cc0f40f568e820427 (diff)
downloadlinux-fsl-qoriq-286d9a0debaee7e159808aa41a40c5c863295365.tar.xz
rio: Make svr non-static
Being static made it fail to build Change-Id: I0d33f585fe92e63494ec3c78aae89629e0cab35c Signed-off-by: Andy Fleming <afleming@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/3483 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_rio.c')
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index d07e4a0..8f315a5 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -379,7 +379,7 @@ int fsl_rio_setup(struct platform_device *dev)
u32 i;
static int tmp;
struct device_node *rmu_np[MAX_MSG_UNIT_NUM] = {NULL};
- static u32 svr = mfspr(SPRN_SVR);
+ u32 svr = mfspr(SPRN_SVR);
if (!dev->dev.of_node) {
dev_err(&dev->dev, "Device OF-Node is NULL");