fbtft: Drop OF dependency
Now, since driver became OF independent, no need to keep OF dependency. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20191120095716.26628-5-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8b2d3aeeb7
commit
189f39ee6a
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
menuconfig FB_TFT
|
menuconfig FB_TFT
|
||||||
tristate "Support for small TFT LCD display modules"
|
tristate "Support for small TFT LCD display modules"
|
||||||
depends on FB && SPI && OF
|
depends on FB && SPI
|
||||||
depends on GPIOLIB || COMPILE_TEST
|
depends on GPIOLIB || COMPILE_TEST
|
||||||
select FB_SYS_FILLRECT
|
select FB_SYS_FILLRECT
|
||||||
select FB_SYS_COPYAREA
|
select FB_SYS_COPYAREA
|
||||||
|
|
|
@ -309,7 +309,7 @@ MODULE_DEVICE_TABLE(of, dt_ids); \
|
||||||
static struct spi_driver fbtft_driver_spi_driver = { \
|
static struct spi_driver fbtft_driver_spi_driver = { \
|
||||||
.driver = { \
|
.driver = { \
|
||||||
.name = _name, \
|
.name = _name, \
|
||||||
.of_match_table = of_match_ptr(dt_ids), \
|
.of_match_table = dt_ids, \
|
||||||
}, \
|
}, \
|
||||||
.probe = fbtft_driver_probe_spi, \
|
.probe = fbtft_driver_probe_spi, \
|
||||||
.remove = fbtft_driver_remove_spi, \
|
.remove = fbtft_driver_remove_spi, \
|
||||||
|
@ -319,7 +319,7 @@ static struct platform_driver fbtft_driver_platform_driver = { \
|
||||||
.driver = { \
|
.driver = { \
|
||||||
.name = _name, \
|
.name = _name, \
|
||||||
.owner = THIS_MODULE, \
|
.owner = THIS_MODULE, \
|
||||||
.of_match_table = of_match_ptr(dt_ids), \
|
.of_match_table = dt_ids, \
|
||||||
}, \
|
}, \
|
||||||
.probe = fbtft_driver_probe_pdev, \
|
.probe = fbtft_driver_probe_pdev, \
|
||||||
.remove = fbtft_driver_remove_pdev, \
|
.remove = fbtft_driver_remove_pdev, \
|
||||||
|
|
Loading…
Reference in New Issue