i2c: s3c24x0: fix the compiler error for exynos4
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 9 Jan 2017 05:47:51 +0000 (14:47 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 18 Jan 2017 04:25:56 +0000 (13:25 +0900)
commita298712e948e473d9e61a3c75835becd0d3a2bf6
treec37c20785b2e2e3e1c1c3181e6a6f8c2d8f58081
parent816d8b500814b26df318d724628f6b88da9aadbf
i2c: s3c24x0: fix the compiler error for exynos4

If CONFIG_SYS_I2C_S3C24X0_SLAVE isn't defined, then complie error should
be occurred.
This patch is for preventing it.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/i2c/s3c24x0_i2c.c