mirror of
https://github.com/koverstreet/bcachefs.git
synced 2025-01-23 00:06:45 +03:00
d4313a68ec
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>
14 lines
262 B
C
14 lines
262 B
C
/* 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_init(void);
|
|
extern void viafb_gpio_exit(void);
|
|
#endif
|