mtd: use broadcom specific code on linux 2.6 as well
authorFelix Fietkau <nbd@openwrt.org>
Mon, 22 Sep 2008 17:06:03 +0000 (17:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 22 Sep 2008 17:06:03 +0000 (17:06 +0000)
SVN-Revision: 12651

package/mtd/src/mtd.c

index 027c859df3192735cd68db5e22fd6c7fe2c33a07..18a73a0a38ffe8a5026d6a2269b82f15b3187047 100644 (file)
 #include "mtd-api.h"
 #include "mtd.h"
 
+#ifdef target_brcm47xx
+#define target_brcm 1
+#endif
+
 #define TRX_MAGIC       0x30524448      /* "HDR0" */
 #define MAX_ARGS 8