From: Grant Likely Date: Fri, 18 Jan 2013 01:32:02 +0000 (+0000) Subject: powerpc/5200: Fix size to request_mem_region() call X-Git-Tag: v3.9-rc1~147^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5961f86802a1d76b377940ae6df53e877bdf235;p=pandora-kernel.git powerpc/5200: Fix size to request_mem_region() call The Bestcomm driver requests a memory region larger than the one described in the device tree. This is due to an extra undocumented field in the bestcomm register structure. This hasn't been a problem up to now, but there is a patch pending to make the DT platform_bus support code use platform_device_add() which tightens the rules and provides extra checks for drivers to stay within the specified register regions. Alternately, I could have removed the extra field from the structure, but I'm not sure if it is still needed for resume to work. Better be safe and leave it in. Signed-off-by: Grant Likely Cc: Benjamin Herrenschmidt Cc: Anatolij Gustschin --- Reading git-diff-tree failed