of/mips: Cleanup some include directives/files.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 19 Oct 2010 22:50:31 +0000 (15:50 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 21 Oct 2010 17:10:11 +0000 (11:10 -0600)
commit4c60071c1ea3e204b9dc25c7519f7beef355d47f
tree4c9cb9f3b215182d5adba68b8a3c26fd47d47dd6
parentf2ffa5ab74f4dfd598860f96ca37a71c4d0a28a8
of/mips: Cleanup some include directives/files.

The __init directives should go on the definitions of things, not the
declaration, also __init is meaningless for inline functions, so
remove it from prom.h.  This allows us to get rid of a useless
#include, but most of the rest of them are useless too, so kill them
as well.

If of_i2c.c needs irq definitions, it should include linux/irq.h
directly, not assume indirect inclusion via asm/prom.h.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/mips/include/asm/prom.h
drivers/of/of_i2c.c