From: Grant Likely Date: Thu, 18 Mar 2010 20:01:18 +0000 (-0600) Subject: powerpc/5200: Build fix for mpc52xx watchdog timer code X-Git-Tag: v2.6.34-rc2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9205124c66a69664c6825501cb062ebd2acd3b3a;p=pandora-kernel.git powerpc/5200: Build fix for mpc52xx watchdog timer code mpc52xx_gpt_wdt_setup is defined as 0, which causes the following build failure with gcc 4.5, since it's built with -Werror. arch/powerpc/platforms/52xx/mpc52xx_gpt.c:761:3: error: statement with no effect Changing it to a static inline fixes the problem. Reported-by: Jeff Mahoney Signed-off-by: Grant Likely --- Reading git-diff-tree failed