Skip to content

Commit

Permalink
[ARM] 4634/1: DaVinci GPIO header build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Russell King committed Oct 31, 2007
1 parent 1398f67 commit 558de8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-arm/arch-davinci/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#ifndef __DAVINCI_GPIO_H
#define __DAVINCI_GPIO_H

#include <linux/io.h>
#include <asm/hardware.h>

/*
* basic gpio routines
*
Expand Down

0 comments on commit 558de8a

Please sign in to comment.