From: Thierry Reding <thierry.reding@gmail.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH] random: Add missing linux/device.h include
Date: Wed, 6 Nov 2013 14:06:50 +0100 [thread overview]
Message-ID: <1383743210-4290-1-git-send-email-treding@nvidia.com> (raw)
Commit f0ed2b943a53 (random: use device attach events for entropy) uses
a member of struct device, which isn't always available and therefore
causes the xcep_defconfig build to break on ARM.
Explicitly including the linux/device.h header fixes this issue.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
drivers/char/random.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 26649ba..4f172f9 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -257,6 +257,7 @@
#include <linux/kmemcheck.h>
#include <linux/irq.h>
#include <linux/workqueue.h>
+#include <linux/device.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
--
1.8.4
reply other threads:[~2013-11-06 13:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1383743210-4290-1-git-send-email-treding@nvidia.com \
--to=thierry.reding@gmail.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®