summaryrefslogtreecommitdiff
path: root/include/linux/via-gpio.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-06-13 09:33:14 +0300
committerHelge Deller <deller@gmx.de>2023-06-19 10:02:51 +0300
commitd4313a68ec913f2705b337e2d332813a72cb2de9 (patch)
treee16437b2837fa8b6505254610add8b3276a68d0a /include/linux/via-gpio.h
parent568c69ae2fea27e0152e4ffeee7c6f354c61810f (diff)
downloadlinux-d4313a68ec913f2705b337e2d332813a72cb2de9.tar.xz
fbdev/media: Use GPIO descriptors for VIA GPIO
The VIA fbdev exposes a custom GPIO chip for its GPIOs, these are in turn looked up the camera driver using a custom API. Drop the custom API, provide a look-up table and convert to GPIO descriptors. Note proper polarity on the RESET line. Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/via-gpio.h')
-rw-r--r--include/linux/via-gpio.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/via-gpio.h b/include/linux/via-gpio.h
deleted file mode 100644
index ac34668fd442..000000000000
--- a/include/linux/via-gpio.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Support for viafb GPIO ports.
- *
- * Copyright 2009 Jonathan Corbet <corbet@lwn.net>
- */
-
-#ifndef __VIA_GPIO_H__
-#define __VIA_GPIO_H__
-
-extern int viafb_gpio_lookup(const char *name);
-extern int viafb_gpio_init(void);
-extern void viafb_gpio_exit(void);
-#endif