]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: Register memory hotplug, reboot and crash hooks on adapter probe
authorAnton Blanchard <anton@samba.org>
Sun, 15 Feb 2015 19:44:20 +0000 (17:44 -0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Feb 2015 21:04:33 +0000 (16:04 -0500)
commit44b8bdffefa941318f2bae4fa44fa9d761d2283e
tree038d8ee3aa283c1fb53edfb9ac8abf9c31de274c
parent8fcb393cc3cef113148012aea1a46d32fafb2bbc
ehea: Register memory hotplug, reboot and crash hooks on adapter probe

ehea creates memory hotplug, reboot and crash hooks even if there
are no adapters in the box. Just create them when we probe our
first adapter.

[cascardo: use ehea_register_memory_hooks return code]
Signed-off-by: Anton Blanchard <anton@samba.org>
Tested-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_main.c