From: Thierry Reding Date: Wed, 29 Oct 2014 00:52:57 +0000 (+0800) Subject: pwm: lpss: Fix build failure on PowerPC X-Git-Tag: v3.14.28+ltsi~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b6735c6185986114c85533dedb916d564c4ad7f;p=platform%2Fkernel%2Flinux-stable.git 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 Signed-off-by: Thierry Reding (cherry picked from commit e0c86a3b63e948e51a47d17382c7cd8711d19750) Signed-off-by: Chang Rebecca Swee Fun --- diff --git a/drivers/pwm/pwm-lpss.c b/drivers/pwm/pwm-lpss.c index ce9bf147811f..7a7a934a7757 100644 --- a/drivers/pwm/pwm-lpss.c +++ b/drivers/pwm/pwm-lpss.c @@ -13,6 +13,7 @@ * published by the Free Software Foundation. */ +#include #include #include