aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-03-17 05:17:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 17:54:22 -0400
commit3a4ffe930a2d2dad07604fe74d21b878decc6461 (patch)
treed0374dd4c93c5efc3d46addb36b0ce38e94cc39e /drivers/base
parent33cb4f345687a27e3fece0a7fcf78ac2e7b0a7d6 (diff)
drivers/base: fix compiler warning in SoC export driver - idr should be ida
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 <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/soc.c b/drivers/base/soc.c
index f49346b9e961..ba29b2e73d48 100644
--- a/drivers/base/soc.c
+++ b/drivers/base/soc.c
@@ -15,7 +15,7 @@
15#include <linux/sys_soc.h> 15#include <linux/sys_soc.h>
16#include <linux/err.h> 16#include <linux/err.h>
17 17
18static DEFINE_IDR(soc_ida); 18static DEFINE_IDA(soc_ida);
19static DEFINE_SPINLOCK(soc_lock); 19static DEFINE_SPINLOCK(soc_lock);
20 20
21static ssize_t soc_info_get(struct device *dev, 21static ssize_t soc_info_get(struct device *dev,