Skip to content
Commit 9205124c authored by Grant Likely's avatar Grant Likely
Browse files

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: default avatarJeff Mahoney <jeffm@suse.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 1976152f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment