summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mach-mpc85xx/fsl_law.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mach-mpc85xx/fsl_law.c')
-rw-r--r--arch/powerpc/mach-mpc85xx/fsl_law.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mach-mpc85xx/fsl_law.c b/arch/powerpc/mach-mpc85xx/fsl_law.c
index 2254c92544..e3c765f30f 100644
--- a/arch/powerpc/mach-mpc85xx/fsl_law.c
+++ b/arch/powerpc/mach-mpc85xx/fsl_law.c
@@ -81,7 +81,7 @@ static void fsl_set_next_law(phys_addr_t addr, enum law_size sz,
static void fsl_set_last_law(phys_addr_t addr, enum law_size sz,
enum law_trgt_if id)
{
- u32 idx;
+ int idx;
for (idx = (FSL_HW_NUM_LAWS - 1); idx >= 0; idx--) {
if (fsl_is_free_law(idx)) {