projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eedd60
)
mfd: Fix asic3 compilation
author
Samuel Ortiz
<sameo@openedhand.com>
Wed, 24 Sep 2008 22:43:59 +0000
(
00:43
+0200)
committer
Samuel Ortiz
<sameo@openedhand.com>
Tue, 30 Sep 2008 07:57:22 +0000
(09:57 +0200)
map_size was declared from the wrong place.
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/asic3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/asic3.c
b/drivers/mfd/asic3.c
index bc2a807f210df1804129f0de665c8b2cacde9614..ba5aa2008273bebe869b12403d5f57ce8be0a2bb 100644
(file)
--- 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);