summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-02-27 09:29:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-27 09:29:55 +0100
commitea7df48670db9678a3baab01aba3111ea011ffcb (patch)
tree36ccd230f5eb9ace387e5065e891aa3e5e4bb83c /drivers/i2c
parent8eab50e814f3e02c567ae1d732525c01901ef170 (diff)
downloadbarebox-ea7df48670db9678a3baab01aba3111ea011ffcb.tar.gz
barebox-ea7df48670db9678a3baab01aba3111ea011ffcb.tar.xz
i2c: i.MX: remove unnecessary ifdef
No need to put the of_compatible field into ifdefs, remove them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-imx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 508ec1d273..3323f2ccce 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -722,8 +722,6 @@ static __maybe_unused struct of_device_id imx_i2c_dt_ids[] = {
static struct driver_d i2c_fsl_driver = {
.probe = i2c_fsl_probe,
.name = "i2c-fsl",
-#ifndef CONFIG_PPC
.of_compatible = DRV_OF_COMPAT(imx_i2c_dt_ids),
-#endif
};
coredevice_platform_driver(i2c_fsl_driver);