|
@@ -102,6 +102,19 @@ static int ehea_probe_adapter(struct platform_device *dev);
|
|
|
|
|
|
static int ehea_remove(struct platform_device *dev);
|
|
|
|
|
|
+static struct of_device_id ehea_module_device_table[] = {
|
|
|
+ {
|
|
|
+ .name = "lhea",
|
|
|
+ .compatible = "IBM,lhea",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .type = "network",
|
|
|
+ .compatible = "IBM,lhea-ethernet",
|
|
|
+ },
|
|
|
+ {},
|
|
|
+};
|
|
|
+MODULE_DEVICE_TABLE(of, ehea_module_device_table);
|
|
|
+
|
|
|
static struct of_device_id ehea_device_table[] = {
|
|
|
{
|
|
|
.name = "lhea",
|
|
@@ -109,7 +122,6 @@ static struct of_device_id ehea_device_table[] = {
|
|
|
},
|
|
|
{},
|
|
|
};
|
|
|
-MODULE_DEVICE_TABLE(of, ehea_device_table);
|
|
|
|
|
|
static struct platform_driver ehea_driver = {
|
|
|
.driver = {
|