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:
33cb4f3
)
drivers/base: fix compiler warning in SoC export driver - idr should be ida
author
Lee Jones
<
[email protected]
>
Sat, 17 Mar 2012 09:17:49 +0000
(09:17 +0000)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 9 Apr 2012 21:54:22 +0000
(14:54 -0700)
This fixes:
note: expected ‘struct ida *’ but argument is of type ‘struct idr *’
warning: passing argument 1 of ‘ida_pre_get’ from incompatible pointer type
Reported-by: Arnd Bergman <
[email protected]
>
Cc: Greg Kroah-Hartman <
[email protected]
>
Signed-off-by: Lee Jones <
[email protected]
>
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by: Arnd Bergmann <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/base/soc.c
patch
|
blob
|
history
diff --git
a/drivers/base/soc.c
b/drivers/base/soc.c
index f49346b9e96171c73bb83912bda87341ca43f569..ba29b2e73d48936ab9a93a028abd0b0d9cd29691 100644
(file)
--- a/
drivers/base/soc.c
+++ b/
drivers/base/soc.c
@@
-15,7
+15,7
@@
#include <linux/sys_soc.h>
#include <linux/err.h>
-static DEFINE_ID
R
(soc_ida);
+static DEFINE_ID
A
(soc_ida);
static DEFINE_SPINLOCK(soc_lock);
static ssize_t soc_info_get(struct device *dev,