public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: lee.jones@linaro•org (Lee Jones)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] drivers/base: fix compiler warning in SoC export driver - idr should be ida
Date: Sat, 17 Mar 2012 09:01:10 +0000	[thread overview]
Message-ID: <4F6452D6.30307@linaro.org> (raw)

Reported-by: Arnd Bergman <arnd@arndb•de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation•org>
Signed-off-by: Lee Jones <lee.jones@linaro•org>
---
 drivers/base/soc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/soc.c b/drivers/base/soc.c
index 05f1503..e57aec1 100644
--- 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_IDR(soc_ida);
+static DEFINE_IDA(soc_ida);
 static DEFINE_SPINLOCK(soc_lock);
 
 static ssize_t soc_info_get(struct device *dev,
-- 
1.7.5.4

             reply	other threads:[~2012-03-17  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17  9:01 Lee Jones [this message]
2012-03-17  9:04 ` [PATCH] drivers/base: fix compiler warning in SoC export driver - idr should be ida Russell King - ARM Linux
2012-03-17  9:12   ` Lee Jones
  -- strict thread matches above, loose matches on Subject: below --
2012-03-17  9:17 Lee Jones
2012-03-17 21:16 ` Arnd Bergmann
2012-03-29 13:46   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6452D6.30307@linaro.org \
    --to=lee.jones@linaro$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox