SH_AP325RXA must select I2C
PATCH 1/1 SH_AP325RXA must select I2C
This patch fixes the following build error:
<-- snip -->
...
LD vmlinuxarch/sh/boards/renesas/ap325rxa/built-in.o: In function `camera_set_capture':
setup.c:(.text+0x80): undefined reference to i2c_get_adapter' setup.c:(.text+0x88): undefined reference to i2c_transfer' make[1]: *** [vmlinux] Error 1
<-- snip -->
---cdcb22706c51f0ae44946f4c3826cc3658960eba
arch/sh/Kconfig +1 -0
@@ -520,6 +520,7 @@ config SH_MIGOR config SH_AP325RXA bool "AP-325RXA" depends on CPU_SUBTYPE_SH7723 + select I2C help Renesas "AP-325RXA" support. Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
Quoted 11 lines · Adrian Bunk
This patch fixes the following build error:
<-- snip -->
...
LD vmlinuxarch/sh/boards/renesas/ap325rxa/built-in.o: In function `camera_set_capture':
setup.c:(.text+0x80): undefined reference toi2c_get_adapter' setup.c:(.text+0x88): undefined reference toi2c_transfer' make[1]: *** [vmlinux] Error 1
Quoted 5 lines
<-- snip -->
Reported-by Adrian Bunk <[email protected]>Signed-off-by Adrian Bunk <[email protected]>
The camera stuff should probably just be conditionalized in the platform code instead.. Magnus, can you sort out the proper dependencies for this?
Quoted 11 lines · Adrian Bunk
This patch fixes the following build error:
<-- snip -->
...
LD vmlinuxarch/sh/boards/renesas/ap325rxa/built-in.o: In function `camera_set_capture':
setup.c:(.text+0x80): undefined reference toi2c_get_adapter' setup.c:(.text+0x88): undefined reference toi2c_transfer' make[1]: *** [vmlinux] Error 1
Quoted 4 lines
<-- snip -->
Reported-by Adrian Bunk <[email protected]>Signed-off-by Adrian Bunk <[email protected]>
I suggest fixing the code or moving out to something that depends on having I2C available.
Quoted 20 lines
---
cdcb22706c51f0ae44946f4c3826cc3658960ebaarch/sh/Kconfig +1
-1@@ -520,6 +520,7 @@ config SH_MIGOR config SH_AP325RXA bool "AP-325RXA" depends on CPU_SUBTYPE_SH7723 + select I2C help Renesas "AP-325RXA" support. Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" --To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 3 lines
Ben ([email protected], http://www.fluff.org/) 'a smiley only costs 4 bytes'