u-boot/arch/arm/include/asm/arch-fsl-layerscape
Chuanhua Han 068cabe8f6 drivers: i2c: mxc: Fix compiler error when using i2c dm mode
I2C dm mode enablemenet causes below compilation errors:

In file included from include/config.h:8:0,
                 from include/common.h:20:
include/config_fallbacks.h:51:4: error: #error "Cannot define
CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
 #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
    ^~~~~
In file included from include/config.h:8:0,
                 from include/common.h:20:
include/config_fallbacks.h:51:4: error: #error "Cannot define
CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
 #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
    ^~~~~

board/freescale/lx2160a/lx2160a.c: In function 'board_early_init_f':
board/freescale/lx2160a/lx2160a.c:108:2: warning: implicit declaration
of function 'i2c_early_init_f'; did you mean 'arch_early_init_r'?
[-Wimplicit-function-declaration]
  i2c_early_init_f();
  ^~~~~~~~~~~~~~~~
  arch_early_init_r

 drivers/i2c/mxc_i2c.c: In function 'mxc_i2c_probe':
  drivers/i2c/mxc_i2c.c:824:8: warning: implicit declaration of function
'enable_i2c_clk';
  did you mean 'enable_irq_wake'? [-Wimplicit-function-declaration]
  ret = enable_i2c_clk(1, bus->seq);
        ^~~~~~~~~~~~~~
        enable_irq_wake

So fix these compilation errors.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
2019-08-22 09:07:35 +05:30
..
clock.h armv8: fsl-lsch3: add clock support for the second eSDHC 2019-06-19 12:54:56 +05:30
config.h drivers: i2c: mxc: Fix compiler error when using i2c dm mode 2019-08-22 09:07:35 +05:30
cpu.h arm: ls1028a: define the integrated PCI bus (ECAM) 2019-06-19 12:54:57 +05:30
fdt.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_icid.h armv8: fsl-layerscape: avoid DT fixup warning 2019-03-03 22:01:14 +05:30
fsl_portals.h armv8: ls1046a: add icid setup for qman portals 2018-08-10 10:35:36 -07:00
fsl_serdes.h armv8: ls1028a: Add other serdes protocal support 2019-06-19 12:54:56 +05:30
immap_lsch2.h armv8: fsl-layerscape: properly configure qdma ICID 2019-01-17 13:17:15 -08:00
immap_lsch3.h arm: ls1028a: define the integrated PCI bus (ECAM) 2019-06-19 12:54:57 +05:30
imx-regs.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mmu.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mp.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ns_access.h armv8: layerscape: Enable EHCI access for LS1012A 2018-08-10 10:37:39 -07:00
ppa.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
soc.h armv8: ls1028a: Add NXP LS1028A SoC support 2019-05-22 12:24:24 +05:30
speed.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stream_id_lsch2.h armv8: fsl-layerscape: add missing debug stream ID 2018-08-10 10:35:29 -07:00
stream_id_lsch3.h armv8: ls1028a: Add NXP LS1028A SoC support 2019-05-22 12:24:24 +05:30