From: Ankur Kishore Date: Sat, 12 Oct 2013 10:14:21 +0000 (+0530) Subject: ARM: OMAP2+: CM: cm_inst offset s16->u16 X-Git-Tag: omap-for-v3.13/am43xx-hwmod-signed^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f5d551df68f3b1135f212ce61eaad21fe7b42d;p=pandora-kernel.git ARM: OMAP2+: CM: cm_inst offset s16->u16 Most of the AM43x CM reg address offsets are with MSB bit '1' (on 16-bit value) leading to arithmetic miscalculations while calculating CLOCK ENABLE register's address because cm_inst field was a type of "const s16", so make it "const u16". Also modify relevant functions so as to take care of the above. [afzal@ti.com: fixup and cleanup] Signed-off-by: Ankur Kishore Signed-off-by: Afzal Mohammed Acked-by: Rajendra Nayak Acked-by: Tony Lindgren Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed