summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf533/boards/blackstamp.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-10-07 14:08:50 +0100
committerDavid Howells <dhowells@redhat.com>2010-10-07 14:08:50 +0100
commitf3441945da3a93ee4bef923628f280ad114cf49f (patch)
treed576fb17a626e1cbcb2cd12b10fabac053593e2e /arch/blackfin/mach-bf533/boards/blackstamp.c
parent3dcc1e7f9fd48f20beefd41a684cd471a96565c5 (diff)
Blackfin: Split the BF532 BFIN_*_FIO_FLAG() functions to their own header
Split the BF532 machine type BFIN_*_FIO_FLAG() functions to their own header file to avoid circular #include problems as these functions require IRQ flag handling, which requires asm/blackfin.h, which otherwise requires the header file that defines these functions. For good measure, also get rid of the inclusion of asm/blackfin.h from mach/cdefBF532.h (which is circular) and defBF532.h (which is included by asm/blackfin.h before including this header). Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/blackstamp.c')
-rw-r--r--arch/blackfin/mach-bf533/boards/blackstamp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c
index 842b4fa76ea9..84a06f677dff 100644
--- a/arch/blackfin/mach-bf533/boards/blackstamp.c
+++ b/arch/blackfin/mach-bf533/boards/blackstamp.c
@@ -25,6 +25,7 @@
#include <asm/bfin5xx_spi.h>
#include <asm/portmux.h>
#include <asm/dpmc.h>
+#include <mach/fio_flag.h>
/*
* Name the Board for the /proc/cpuinfo