cregit-Linux how code gets into the kernel

Release 4.15 arch/arm/include/asm/gpio.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ARCH_ARM_GPIO_H

#define _ARCH_ARM_GPIO_H

#if CONFIG_ARCH_NR_GPIO > 0

#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO
#endif

/* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */
#include <asm-generic/gpio.h>

/* The trivial gpiolib dispatchers */

#define gpio_get_value  __gpio_get_value

#define gpio_set_value  __gpio_set_value

#define gpio_cansleep   __gpio_cansleep

/*
 * Provide a default gpio_to_irq() which should satisfy every case.
 * However, some platforms want to do this differently, so allow them
 * to override it.
 */
#ifndef gpio_to_irq

#define gpio_to_irq	__gpio_to_irq
#endif

#endif /* _ARCH_ARM_GPIO_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Russell King2756.25%233.33%
Peter 'p2' De Schrijver1020.83%116.67%
David Brownell918.75%116.67%
Greg Kroah-Hartman12.08%116.67%
Stephen Warren12.08%116.67%
Total48100.00%6100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.