summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
df79c3c)
+/* Only available on brcm-2.4/brcm47xx */
+#ifdef BROADCOM
extern char *nvram_get(const char *name);
#define getvar(str) (nvram_get(str)?:"")
extern char *nvram_get(const char *name);
#define getvar(str) (nvram_get(str)?:"")
+#else
+#define getvar(str) NULL
+#endif
/* Data structure for a Roboswitch device. */
struct robo_switch {
/* Data structure for a Roboswitch device. */
struct robo_switch {