powerpc/5200: Build fix for mpc52xx watchdog timer code
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 18 Mar 2010 20:01:18 +0000 (14:01 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 18 Mar 2010 14:20:17 +0000 (08:20 -0600)
commit9205124c66a69664c6825501cb062ebd2acd3b3a
tree41ecdb8a8c3b22f4df108597cc5d73db054b3171
parent1976152fd8e706135deed6cf333e347c08416056
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 <jeffm@suse.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/52xx/mpc52xx_gpt.c