Blackfin: Split the BF532 BFIN_*_FIO_FLAG() functions to their own header
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:50 +0000 (14:08 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:50 +0000 (14:08 +0100)
commitf3441945da3a93ee4bef923628f280ad114cf49f
treed576fb17a626e1cbcb2cd12b10fabac053593e2e
parent3dcc1e7f9fd48f20beefd41a684cd471a96565c5
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>
arch/blackfin/mach-bf533/boards/blackstamp.c
arch/blackfin/mach-bf533/boards/ip0x.c
arch/blackfin/mach-bf533/boards/stamp.c
arch/blackfin/mach-bf533/include/mach/cdefBF532.h
arch/blackfin/mach-bf533/include/mach/fio_flag.h [new file with mode: 0644]