upstream: [media] tea575x: Fix build with ARCH=c6x
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 13 Jan 2014 17:54:59 +0000 (15:54 -0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:29 +0000 (11:54 +0900)
commitbe6912085f8d391cea687c6e4c0a7a54e3a92acd
tree2b98a0983342d65aa1f1f2c255f34b9183fd41ed
parent83dd8c905f17c466d63acaf080e90efb5ba3908a
upstream: [media] tea575x: Fix build with ARCH=c6x

In file included from /devel/v4l/temp/include/asm-generic/page.h:23:0,
                 from /devel/v4l/temp/arch/c6x/include/asm/page.h:9,
                 from /devel/v4l/temp/include/asm-generic/io.h:14,
                 from arch/c6x/include/generated/asm/io.h:1,
                 from /devel/v4l/temp/drivers/media/radio/tea575x.c:23:
/devel/v4l/temp/arch/c6x/include/asm/setup.h:17:27: error: unknown type name ‘phys_addr_t’
 extern int c6x_add_memory(phys_addr_t start, unsigned long size);

It seems that, on such arch, the includes from asm/ should be
after the ones from linux/.

The proper fix would be to patch the arch files, but, as
this fix is trivial, apply it. Also, we generally put the
asm includes after the linux ones, anyway.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/radio/tea575x.c