From: Thierry Reding Date: Fri, 14 Sep 2012 08:14:25 +0000 (+0800) Subject: unicore32: pwm: Properly remap memory-mapped registers X-Git-Tag: v3.7-rc1~59^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b6886502160eb771aefe21c1f891597138ddfe;p=pandora-kernel.git unicore32: pwm: Properly remap memory-mapped registers Instead of writing to the timer controller registers by dereferencing a pointer to the memory location, properly remap the memory region with a call to ioremap_nocache() and access the registers using writel(). Signed-off-by: Thierry Reding Signed-off-by: Guan Xuetao Tested-by: Qin Rui --- Reading git-diff-tree failed