|
@@ -326,8 +326,8 @@ static int fbtft_driver_remove_pdev(struct platform_device *pdev) \
|
|
|
} \
|
|
|
\
|
|
|
static const struct of_device_id dt_ids[] = { \
|
|
|
- { .compatible = _compatible }, \
|
|
|
- {}, \
|
|
|
+ { .compatible = _compatible }, \
|
|
|
+ {}, \
|
|
|
}; \
|
|
|
\
|
|
|
MODULE_DEVICE_TABLE(of, dt_ids); \
|
|
@@ -337,7 +337,7 @@ static struct spi_driver fbtft_driver_spi_driver = { \
|
|
|
.driver = { \
|
|
|
.name = _name, \
|
|
|
.owner = THIS_MODULE, \
|
|
|
- .of_match_table = of_match_ptr(dt_ids), \
|
|
|
+ .of_match_table = of_match_ptr(dt_ids), \
|
|
|
}, \
|
|
|
.probe = fbtft_driver_probe_spi, \
|
|
|
.remove = fbtft_driver_remove_spi, \
|
|
@@ -347,7 +347,7 @@ static struct platform_driver fbtft_driver_platform_driver = { \
|
|
|
.driver = { \
|
|
|
.name = _name, \
|
|
|
.owner = THIS_MODULE, \
|
|
|
- .of_match_table = of_match_ptr(dt_ids), \
|
|
|
+ .of_match_table = of_match_ptr(dt_ids), \
|
|
|
}, \
|
|
|
.probe = fbtft_driver_probe_pdev, \
|
|
|
.remove = fbtft_driver_remove_pdev, \
|