diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-09-14 08:14:25 (GMT) |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-10-05 18:56:39 (GMT) |
commit | d1b6886502160eb771aefe21c1f891597138ddfe (patch) | |
tree | eee4f1aade9c3b34878ba849301a196532a9fdd0 /include | |
parent | 60ce70285b4d3b933eea15e494a9b35fe85b19b7 (diff) | |
download | linux-d1b6886502160eb771aefe21c1f891597138ddfe.tar.xz |
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 <thierry.reding@avionic-design.de>
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Tested-by: Qin Rui <qinrui@mprc.pku.edu.cn>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions