mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 23:06:44 +07:00
14305e685d
The patch removes MXC_GPIO_IRQS and instead uses ARCH_NR_GPIOS to define gpio number. This change is need when we change mxc gpio driver to be device tree aware. When migrating the driver to device tree, pdev->id becomes unusable. It requires driver get gpio range from gpio core, which will dynamically allocates number from ARCH_NR_GPIOS to 0. As a bonus point, it removes lines of '#if' and make the code a little bit cleaner. The side effect is the waste of number. But this is not a point when we go single image. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> |
||
---|---|---|
.. | ||
devices | ||
include/mach | ||
3ds_debugboard.c | ||
audmux-v1.c | ||
audmux-v2.c | ||
avic.c | ||
clock.c | ||
cpu.c | ||
cpufreq.c | ||
devices.c | ||
epit.c | ||
iomux-v1.c | ||
iomux-v3.c | ||
iram_alloc.c | ||
irq-common.c | ||
irq-common.h | ||
Kconfig | ||
Makefile | ||
pwm.c | ||
ssi-fiq-ksym.c | ||
ssi-fiq.S | ||
system.c | ||
time.c | ||
tzic.c | ||
ulpi.c |