Messages in this thread Patch in this message | | | From | Thierry Reding <> | Subject | [PATCH] random: Add missing linux/device.h include | Date | Wed, 6 Nov 2013 14:06:50 +0100 |
| |
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
| |