summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/replay.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-08-31 15:16:53 +0900
committerTom Rini <trini@ti.com>2014-09-16 12:23:56 -0400
commit3b6129702489ef4e327adeeef79ad73da8f6b59d (patch)
tree4a43e75d8d2151e3b3f8eef277f0e18adee1a380 /fs/ubifs/replay.c
parent5d9f423ddb2d4739eeee14990f5369508dee5e9d (diff)
downloadtalos-obmc-uboot-3b6129702489ef4e327adeeef79ad73da8f6b59d.tar.gz
talos-obmc-uboot-3b6129702489ef4e327adeeef79ad73da8f6b59d.zip
kbuild: force to define __UBOOT__ in all the C sources
U-Boot has imported various source files from other projects, mostly Linux. Something like #ifdef __UBOOT__ [ modification for U-Boot ] #else [ original code ] #endif is an often used strategy for clarification of adjusted parts, that is, easier re-sync in future. Instead of defining __UBOOT__ in each source file, passing it from the top Makefile would be easier. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'fs/ubifs/replay.c')
-rw-r--r--fs/ubifs/replay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c
index 6393b15b18..7268b37a49 100644
--- a/fs/ubifs/replay.c
+++ b/fs/ubifs/replay.c
@@ -21,7 +21,6 @@
* larger is the journal, the more memory its index may consume.
*/
-#define __UBOOT__
#ifdef __UBOOT__
#include <linux/compat.h>
#include <linux/err.h>
OpenPOWER on IntegriCloud