projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d4474
)
regulator: da903x: add missing __devexit_p()
author
Mike Frysinger
<
[email protected]
>
Fri, 15 May 2009 18:50:33 +0000
(14:50 -0400)
committer
Liam Girdwood
<
[email protected]
>
Mon, 18 May 2009 10:21:10 +0000
(11:21 +0100)
The remove function uses __devexit, so the .remove assignment needs
__devexit_p() to fix a build error with hotplug disabled.
Signed-off-by: Mike Frysinger <
[email protected]
>
CC: Liam Girdwood <
[email protected]
>
CC: Mike Rapoport <
[email protected]
>
CC: Eric Miao <
[email protected]
>
Acked-by: Eric Miao <
[email protected]
>
Signed-off-by: Liam Girdwood <
[email protected]
>
drivers/regulator/da903x.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/da903x.c
b/drivers/regulator/da903x.c
index 72b15495183cfd290289fd9256babe296bbbf263..c6628f5a0af7b337fa2ad1426a81e0468a7f1ddc 100644
(file)
--- a/
drivers/regulator/da903x.c
+++ b/
drivers/regulator/da903x.c
@@
-497,7
+497,7
@@
static struct platform_driver da903x_regulator_driver = {
.owner = THIS_MODULE,
},
.probe = da903x_regulator_probe,
- .remove =
da903x_regulator_remove
,
+ .remove =
__devexit_p(da903x_regulator_remove)
,
};
static int __init da903x_regulator_init(void)