瀏覽代碼

[ARM] 4634/1: DaVinci GPIO header build fix

This fixes a build problem with GPIOs on DaVinci.  Since it inlines
operations for on-chip GPIOs, it needs some headers to support those
direct register accesses.  Those headers won't be included on other
platforms, since they don't have that optimization.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
David Brownell 17 年之前
父節點
當前提交
558de8a74e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/asm-arm/arch-davinci/gpio.h

+ 3 - 0
include/asm-arm/arch-davinci/gpio.h

@@ -13,6 +13,9 @@
 #ifndef	__DAVINCI_GPIO_H
 #ifndef	__DAVINCI_GPIO_H
 #define	__DAVINCI_GPIO_H
 #define	__DAVINCI_GPIO_H
 
 
+#include <linux/io.h>
+#include <asm/hardware.h>
+
 /*
 /*
  * basic gpio routines
  * basic gpio routines
  *
  *