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)
commit10d30f2d2dda1298e07ad0fe04f214ed2ad0a4ee
tree5ca2dec6c9483bba9a1b3f65c100e6162c20aa1c
parent0ae8453c71bd5aa9eac3ed230a15169dd3ad5437
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]