summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2010-03-29 05:28:32 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-03-29 17:33:31 +0100
commitc36207a4624f15020f2918324405c1c88a5d4cbc (patch)
treee70f0955f830e7d32ac196ebe2ce3a22a768e4bf /include
parent325ffc3633f1c30ef89d98d619f7e1497366e77c (diff)
downloadlinux-c36207a4624f15020f2918324405c1c88a5d4cbc.tar.gz
linux-c36207a4624f15020f2918324405c1c88a5d4cbc.tar.bz2
linux-c36207a4624f15020f2918324405c1c88a5d4cbc.zip
ARM: 5999/1: Including device.h and resource.h header files in linux/amba/bus.h
linux/amba/bus.h have dependencies on linux/device.h and linux/resource.h, but it doesn't include them. We get compilation errors in our files which include bus.h but doesn't include device.h and resource.h. This patch includes device.h and resource.h in linux/amba/bus.h file. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: Linux Walleij <linux.ml.walleij@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/amba/bus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index 6816be6c3f77..8b1038607831 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -14,6 +14,9 @@
#ifndef ASMARM_AMBA_H
#define ASMARM_AMBA_H
+#include <linux/device.h>
+#include <linux/resource.h>
+
#define AMBA_NR_IRQS 2
struct amba_device {