Explorar el Código

ehea: add MODULE_DEVICE_TABLE

Required to allow distros to easily detect when ehea
module needs to be loaded

Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Jan-Bernd Themann hace 17 años
padre
commit
b0afffe89b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      drivers/net/ehea/ehea_main.c

+ 1 - 0
drivers/net/ehea/ehea_main.c

@@ -118,6 +118,7 @@ static struct of_device_id ehea_device_table[] = {
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, ehea_device_table);
 
 static struct of_platform_driver ehea_driver = {
 	.name = "ehea",