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)
commitebce0ded21ec89451b5b783925c4697ef0689e86
treee4fd6210414a630c2f0ec5714d119eb1aa8980f1
parent8e19e9371dcfa8325a70bb961c4bff4a335f8be3
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