try to drop MODULE_DEVICE_TABLE
This commit is contained in:
@ -20,7 +20,7 @@ static struct of_device_id my_driver_ids[] = {
|
|||||||
.compatible = "hottis,counter",
|
.compatible = "hottis,counter",
|
||||||
}, { /* sentinel */ }
|
}, { /* sentinel */ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, my_driver_ids);
|
// MODULE_DEVICE_TABLE(of, my_driver_ids);
|
||||||
|
|
||||||
static struct platform_driver my_driver = {
|
static struct platform_driver my_driver = {
|
||||||
.probe = dt_probe,
|
.probe = dt_probe,
|
||||||
|
Reference in New Issue
Block a user