pwm: lpss: Fix build failure on PowerPC
authorThierry Reding <thierry.reding@gmail.com>
Fri, 22 Aug 2014 22:22:45 +0000 (00:22 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 22 Aug 2014 22:25:52 +0000 (00:25 +0200)
commite0c86a3b63e948e51a47d17382c7cd8711d19750
tree58cdc23ebcfbf33fbe5e40a5ca601a61cea971b4
parent90927fe9a001340304e0c37dee578e4432b1744e
pwm: lpss: Fix build failure on PowerPC

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 <sfr@canb.auug.org.au>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpss.c