summaryrefslogtreecommitdiff
path: root/drivers/mfd/asic3.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2008-09-24 22:43:59 (GMT)
committerSamuel Ortiz <sameo@openedhand.com>2008-09-30 07:57:22 (GMT)
commit6cac6e8489af6c419cb6af6911535a280e6b6c2e (patch)
tree4788416200b933fc66806a124b37b4dc92efef00 /drivers/mfd/asic3.c
parent2eedd6047b050f82f4e596a50704686ec989c1c8 (diff)
downloadlinux-fsl-qoriq-6cac6e8489af6c419cb6af6911535a280e6b6c2e.tar.xz
mfd: Fix asic3 compilation
map_size was declared from the wrong place. Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/asic3.c')
-rw-r--r--drivers/mfd/asic3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index bc2a807..ba5aa20 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -312,7 +312,6 @@ static int __init asic3_irq_probe(struct platform_device *pdev)
struct asic3 *asic = platform_get_drvdata(pdev);
unsigned long clksel = 0;
unsigned int irq, irq_base;
- int map_size;
int ret;
ret = platform_get_irq(pdev, 0);
@@ -534,6 +533,7 @@ static int __init asic3_probe(struct platform_device *pdev)
struct asic3 *asic;
struct resource *mem;
unsigned long clksel;
+ int map_size;
int ret = 0;
asic = kzalloc(sizeof(struct asic3), GFP_KERNEL);