From 286d9a0debaee7e159808aa41a40c5c863295365 Mon Sep 17 00:00:00 2001 From: Andy Fleming Date: Tue, 23 Jul 2013 15:52:07 -0500 Subject: rio: Make svr non-static Being static made it fail to build Change-Id: I0d33f585fe92e63494ec3c78aae89629e0cab35c Signed-off-by: Andy Fleming Reviewed-on: http://git.am.freescale.net:8181/3483 Reviewed-by: Fleming Andrew-AFLEMING Tested-by: Fleming Andrew-AFLEMING 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"); -- cgit v0.10.2