]> err.no Git - linux-2.6/commit
[POWERPC] i2c: Fix build breakage introduced by OF helpers
authorJochen Friedrich <jochen@scram.de>
Fri, 18 Apr 2008 14:23:03 +0000 (00:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 20 Apr 2008 03:03:35 +0000 (13:03 +1000)
commit585468e5d5962660867c269e26f0a4b89a599473
tree0d134c3d7e7fb80e2f36c342983b9e224e325fca
parent9f264be6101c42cb9e471c58322fb83a5cde1461
[POWERPC] i2c: Fix build breakage introduced by OF helpers

Fix build breakage introduced in commit "[POWERPC] i2c: OF helpers for
the i2c API".  If i2c-core is compiled as a module, the helper needs
to be compiled as a module, as well.  Rename i2c.c to of_i2c.c to
avoid name space conflict.

[paulus@samba.org: Changed dependency from OF to PPC_OF to avoid
sparc{32,64} allmodconfig breakage.]

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/of_i2c.c [moved from drivers/of/i2c.c with 100% similarity]