mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:26:49 +07:00
f2ab2ba09e
We don't want drivers using NO_IRQ, so remove its use. For now, 0 or -1 means no irq until platforms are converted to use 0. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Cc: Linus Walleij <linus.ml.walleij@gmail.com>
17 lines
373 B
C
17 lines
373 B
C
#include <linux/types.h>
|
|
|
|
/* platform data for the PL061 GPIO driver */
|
|
|
|
struct pl061_platform_data {
|
|
/* number of the first GPIO */
|
|
unsigned gpio_base;
|
|
|
|
/* number of the first IRQ.
|
|
* If the IRQ functionality in not desired this must be set to 0.
|
|
*/
|
|
unsigned irq_base;
|
|
|
|
u8 directions; /* startup directions, 1: out, 0: in */
|
|
u8 values; /* startup values */
|
|
};
|