From: Simon Glass Date: Tue, 6 Jan 2015 03:05:37 +0000 (-0700) Subject: dm: zynq: Remove inline gpio functions X-Git-Tag: v2015.04-rc1~7^2~60 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9762a415c8ed1d2e7cb7d202a29a3c2133184808;p=oweals%2Fu-boot.git dm: zynq: Remove inline gpio functions These functions serve no useful purpose, and conflict with the generic API. Drop them. Signed-off-by: Simon Glass --- diff --git a/arch/arm/include/asm/arch-zynq/gpio.h b/arch/arm/include/asm/arch-zynq/gpio.h index 2dbba756d7..a26ae87293 100644 --- a/arch/arm/include/asm/arch-zynq/gpio.h +++ b/arch/arm/include/asm/arch-zynq/gpio.h @@ -7,19 +7,4 @@ #ifndef _ZYNQ_GPIO_H #define _ZYNQ_GPIO_H -inline int gpio_get_value(unsigned gpio) -{ - return 0; -} - -inline int gpio_set_value(unsigned gpio, int val) -{ - return 0; -} - -inline int gpio_request(unsigned gpio, const char *label) -{ - return 0; -} - #endif /* _ZYNQ_GPIO_H */