diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-07-25 08:58:58 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-07-25 08:58:58 +0200 |
commit | 811b80cae120168762e5825784a135ee4a5558e2 (patch) | |
tree | 620d154c71fdd9c3f4b082c3b90c3d589a5cab0f /sys/src/9/bcm/devgpio.c | |
parent | dfea95b3c29ef4a6de2713a946453d3a022ae0b4 (diff) |
bcm, bcm64: make irq.$O optional and add intrdisable(), use intrenable()
the raspberry pi 4 has a new interrupt controller and
pci support, so get rid of intrenable() macro and
properly make intrenable function with tbdf argument.
Diffstat (limited to 'sys/src/9/bcm/devgpio.c')
-rw-r--r-- | sys/src/9/bcm/devgpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/bcm/devgpio.c b/sys/src/9/bcm/devgpio.c index 8df38e865..4c664d9fe 100644 --- a/sys/src/9/bcm/devgpio.c +++ b/sys/src/9/bcm/devgpio.c @@ -336,7 +336,7 @@ gpioinit(void) gpiomeminit(); boardrev = getboardrev() & 0xff; pinscheme = Qboard; - intrenable(49, interrupt, nil, 0, "gpio1"); + intrenable(49, interrupt, nil, BUSUNKNOWN, "gpio1"); } static void |