>From 6857bb52af1fcd90e64d3e6c45de3ff0f071be7a Mon Sep 17 00:00:00 2001 From: Peter Barada Date: Fri, 6 May 2011 11:07:50 -0400 Subject: [PATCH] Make offset in pm_module_def signed to allow negative offsets. Since PRM module offsets can be negative (IVA2 is -0x800), offset in pm_module_def struct has to be signed. --- arch/arm/mach-omap2/pm-debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git b/arch/arm/mach-omap2/pm-debug.c a/arch/arm/mach-omap2/pm-debug.c index b731ef3..125f565 100644 --- b/arch/arm/mach-omap2/pm-debug.c +++ a/arch/arm/mach-omap2/pm-debug.c @@ -199,7 +199,7 @@ enum { struct pm_module_def { char name[8]; /* Name of the module */ short type; /* CM or PRM */ - short offset; + unsigned short offset; int low; /* First register address on this module */ int high; /* Last register address on this module */ }; -- 1.7.1