i2c-gpio-custom: add kernel version check
authorZoltan HERPAI <wigyori@uid0.hu>
Tue, 16 Oct 2018 14:42:20 +0000 (16:42 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 16 Oct 2018 14:42:20 +0000 (16:42 +0200)
commit3738d2e3a2e0e7705f43e14bdb764b5f815e4253
tree4a9125a533dc6250a7bfa735ea223d31c471824c
parentb26f5d2045247ec37604905ffe82efc63f724860
i2c-gpio-custom: add kernel version check

As i2c-gpio.h was moved into linux/platform_data in 4.18,
the include needs to be updated along with a version check.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c