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 027c859..18a73a0 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