Browse Source

sh: sh7269: Fix compilation by adding missing includes

struct resource is defined in linux/ioport.h. Include it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Laurent Pinchart 12 years ago
parent
commit
6299e571b2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/sh/kernel/cpu/sh2a/pinmux-sh7269.c

+ 2 - 0
arch/sh/kernel/cpu/sh2a/pinmux-sh7269.c

@@ -9,7 +9,9 @@
  * for more details.
  */
 
+#include <linux/bug.h>
 #include <linux/init.h>
+#include <linux/ioport.h>
 #include <linux/kernel.h>
 #include <cpu/pfc.h>