pwm: lpss: Fix build failure on PowerPC
authorThierry Reding <thierry.reding@gmail.com>
Wed, 29 Oct 2014 00:52:57 +0000 (08:52 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:24 +0000 (09:25 +0900)
commitd0eeb0625985c5b7fa99be8b023eaef4a8ebc8e6
tree04198f91fd47530ebedfaa9ba0c5036ba89aa1e0
parent8ddb19a823b4c61c4e3c5a42b4971629350c57c2
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>
(cherry picked from commit e0c86a3b63e948e51a47d17382c7cd8711d19750)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
drivers/pwm/pwm-lpss.c