Skip to content

Commit

Permalink
ARM: 5999/1: Including device.h and resource.h header files in linux/…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
viresh kumar authored and Russell King committed Mar 29, 2010
1 parent 325ffc3 commit c36207a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/amba/bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c36207a

Please sign in to comment.