mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 18:46:39 +07:00
e24e4498cb
The <mach/gpio.h> file is included from upper directories and deal with generic GPIO and gpiolib stuff. Break out the platform and driver specific defines and functions into its own header file. Cc: zeal <zealcook@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Acked-by: Daniel Silverstone <dsilvers@simtec.co.uk> Acked-by: Simtec Linux Team <linux@simtec.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
20 lines
425 B
C
20 lines
425 B
C
/*
|
|
* arch/arm/mach-ks8695/include/mach/gpio.h
|
|
*
|
|
* Copyright (C) 2006 Andrew Victor
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_GPIO_H_
|
|
#define __ASM_ARCH_GPIO_H_
|
|
|
|
/*
|
|
* Map IRQ number to GPIO line.
|
|
*/
|
|
extern int irq_to_gpio(unsigned int irq);
|
|
|
|
#endif
|