Skip to content

Commit

Permalink
mfd: Fix asic3 compilation
Browse files Browse the repository at this point in the history
map_size was declared from the wrong place.

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
  • Loading branch information
Samuel Ortiz committed Sep 30, 2008
1 parent 2eedd60 commit 6cac6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6cac6e8

Please sign in to comment.