kernel: ledtrig-netdev: use netdev_notifier_info
authorLuka Perkov <luka@openwrt.org>
Tue, 8 Jul 2014 23:27:44 +0000 (23:27 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 8 Jul 2014 23:27:44 +0000 (23:27 +0000)
commit82abc5c1d9604cec060388a2fe274964eec3a50c
treeb825fb54c8225b971f70ea32ee2744d18365f479
parent90b53991a09578730fab41445e7cbbeb028af722
kernel: ledtrig-netdev: use netdev_notifier_info

Since kernel 3.11, the third parameter passed to notifier_call()
is of type struct netdev_notifier_info. This patch fixes an oops
when setting a netdev LED trigger.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 41552
target/linux/generic/patches-3.12/831-ledtrig_netdev.patch
target/linux/generic/patches-3.13/831-ledtrig_netdev.patch
target/linux/generic/patches-3.14/831-ledtrig_netdev.patch