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 <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
Thierry Reding 2014-08-23 00:22:45 +02:00
commit e0c86a3b63

View file

@ -13,6 +13,7 @@
* published by the Free Software Foundation.
*/
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>