--- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -5662,7 +5662,11 @@ int nl80211_send_action(struct cfg80211_ return err; } +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)) err = genlmsg_unicast(wiphy_net(&rdev->wiphy), msg, nlpid); +#else + err = genlmsg_unicast(msg, nlpid); +#endif if (err < 0) return err; return 0; git' href='git://git.panaceas.org/openwrt/upstream' title='openwrt/upstream Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/dts/bcm6358-brcm-bcm96358vw.dts
blob: bf997935e86dc84bce5152a0c8ae838dc3ef1c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include "bcm6358.dtsi"

#include <dt-bindings/input/input.h>

/ {
	model = "Broadcom BCM96358VW reference board";
	compatible = "brcm,bcm96358vw", "brcm,bcm6358";

	chosen {
		bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
		stdout-path = "serial0:115200n8";
	};

	leds {
		compatible = "gpio-leds";

		power_green {
			label = "green:power";
			gpios = <&pinctrl 4 0>;
			default-state = "on";
		};
		stop_green {
			label = "green:stop";
			gpios = <&pinctrl 5 0>;
		};
		adsl_fail_green {
			label = "green:adsl-fail";
			gpios = <&pinctrl 15 1>;
		};
		ppp_green {
			label = "green:ppp";
			gpios = <&pinctrl 22 1>;
		};
		ppp_fail_green {
			label = "green:ppp-fail";
			gpios = <&pinctrl 23 1>;
		};
	};
};

&pflash {
	status = "okay";

	partitions {
		compatible = "brcm,bcm963xx-cfe-nor-partitions";
	};
};

&uart0 {
	status = "okay";
};