1 Subject: add alias entry for portN properties
3 References: 435215 - LTC48564
5 Use separate table for alias entries in the ehea module,
6 otherwise the probe() function will operate on the separate ports
7 instead of the lhea-"root" entry of the device-tree
10 drivers/net/ehea/ehea_main.c | 14 +++++++++++++-
11 1 file changed, 13 insertions(+), 1 deletion(-)
13 --- a/drivers/net/ehea/ehea_main.c
14 +++ b/drivers/net/ehea/ehea_main.c
15 @@ -111,6 +111,19 @@ static int __devinit ehea_probe_adapter(
17 static int __devexit ehea_remove(struct of_device *dev);
19 +static struct of_device_id ehea_module_device_table[] = {
22 + .compatible = "IBM,lhea",
26 + .compatible = "IBM,lhea-ethernet",
30 +MODULE_DEVICE_TABLE(of, ehea_module_device_table);
32 static struct of_device_id ehea_device_table[] = {
35 @@ -118,7 +131,6 @@ static struct of_device_id ehea_device_t
39 -MODULE_DEVICE_TABLE(of, ehea_device_table);
41 static struct of_platform_driver ehea_driver = {