From: Marek Vasut Date: Mon, 3 Oct 2011 02:57:24 +0200 Subject: [U-Boot] [PATCH 2/8] PPC: Fix mem_to_mem_idma2intr.c by renaming "debug" to "mmdebug" In-Reply-To: <1317603450-7527-1-git-send-email-marek.vasut@gmail.com> References: <1317603450-7527-1-git-send-email-marek.vasut@gmail.com> Message-ID: <1317603450-7527-3-git-send-email-marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Marek Vasut Also, squash a checkpatch warning in if(debug != 0) part. Signed-off-by: Marek Vasut --- examples/standalone/mem_to_mem_idma2intr.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/standalone/mem_to_mem_idma2intr.c b/examples/standalone/mem_to_mem_idma2intr.c index d0a75ea..8a986d3 100644 --- a/examples/standalone/mem_to_mem_idma2intr.c +++ b/examples/standalone/mem_to_mem_idma2intr.c @@ -44,10 +44,10 @@ DECLARE_GLOBAL_DATA_PTR; } #endif /* STANDALONE */ -static int debug = 1; +static int mmdebug = 1; #define DEBUG(fmt, args...) { \ - if(debug != 0) { \ + if (mmdebug != 0) { \ printf("[%s %d %s]: ",__FILE__,__LINE__,__FUNCTION__); \ printf(fmt, ##args); \ } \ -- 1.7.6.2