Commit c36207a4 authored by viresh kumar's avatar viresh kumar Committed by Russell King

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: default avatarViresh Kumar <viresh.kumar@st.com>
Acked-by: default avatarLinux Walleij <linux.ml.walleij@gmail.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 325ffc36
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
#ifndef ASMARM_AMBA_H #ifndef ASMARM_AMBA_H
#define ASMARM_AMBA_H #define ASMARM_AMBA_H
#include <linux/device.h>
#include <linux/resource.h>
#define AMBA_NR_IRQS 2 #define AMBA_NR_IRQS 2
struct amba_device { struct amba_device {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment