projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90927fe
)
pwm: lpss: Fix build failure on PowerPC
author
Thierry Reding
<
[email protected]
>
Fri, 22 Aug 2014 22:22:45 +0000
(
00:22
+0200)
committer
Thierry Reding
<
[email protected]
>
Fri, 22 Aug 2014 22:25:52 +0000
(
00:25
+0200)
An x86 build seems to pull in the linux/io.h include indirectly. On
PowerPC that doesn't happen and the build breaks due to the readl() and
writel() functions not being declared. Fix this by explicitly including
linux/io.h.
Reported-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Thierry Reding <
[email protected]
>
drivers/pwm/pwm-lpss.c
patch
|
blob
|
history
diff --git
a/drivers/pwm/pwm-lpss.c
b/drivers/pwm/pwm-lpss.c
index ce9bf147811f758ce4d09dd11cf0cf8e784fb0ca..7a7a934a7757e58426fe1fb81bc4ecdbb63cb3ab 100644
(file)
--- a/
drivers/pwm/pwm-lpss.c
+++ b/
drivers/pwm/pwm-lpss.c
@@
-13,6
+13,7
@@
* published by the Free Software Foundation.
*/
+#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>