swconfig: make it compatible with 3.7
authorGabor Juhos <juhosg@openwrt.org>
Wed, 21 Nov 2012 17:38:11 +0000 (17:38 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 21 Nov 2012 17:38:11 +0000 (17:38 +0000)
commita18dace2487f6bd49af7690db4037baceb4dfc1b
treea4eaec74990fa43806480be615bd83439de7cc2f
parent411d1552239587f4412f7b3a6a2b85190a7d30e7
swconfig: make it compatible with 3.7

swconfig does not compile with 3.7 because

struct netlink_notify->pid    has been renamed to
struct netlink_notify->portid

and

struct genl_info->snd_pid     has been renamed to
struct genl_info->snd_portid

Use the new names and add compatibility patches
to 3.3 and 3.6.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34288
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/patches-3.3/a02-swconfig-revert-portid-snd_portid-usage.patch [new file with mode: 0644]
target/linux/generic/patches-3.6/a02-swconfig-revert-portid-snd_portid-usage.patch [new file with mode: 0644]