mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
imx8, arm64: fix tbdf argumnt position for intrdisable() (thanks cosa)
This commit is contained in:
parent
4d69aacea0
commit
e2978c785a
3 changed files with 3 additions and 3 deletions
|
@ -162,7 +162,7 @@ extern int gpioin(uint pin);
|
|||
void gpiointrenable(uint pin, int mode, void (*f)(uint pin, void *a), void *a);
|
||||
void gpiointrdisable(uint pin);
|
||||
|
||||
/* pciimx */
|
||||
/* pciqemu */
|
||||
extern int pcicfgrw8(int tbdf, int rno, int data, int read);
|
||||
extern int pcicfgrw16(int tbdf, int rno, int data, int read);
|
||||
extern int pcicfgrw32(int tbdf, int rno, int data, int read);
|
||||
|
|
|
@ -311,7 +311,7 @@ intrenable(int irq, void (*f)(Ureg*, void*), void *a, int tbdf, char *)
|
|||
}
|
||||
|
||||
void
|
||||
intrdisable(int tbdf, void (*f)(Ureg*, void*), void *a, int, char*)
|
||||
intrdisable(int, void (*f)(Ureg*, void*), void *a, int tbdf, char*)
|
||||
{
|
||||
if(BUSTYPE(tbdf) == BusPCI){
|
||||
pciintrdisable(tbdf, f, a);
|
||||
|
|
|
@ -311,7 +311,7 @@ intrenable(int irq, void (*f)(Ureg*, void*), void *a, int tbdf, char *)
|
|||
}
|
||||
|
||||
void
|
||||
intrdisable(int tbdf, void (*f)(Ureg*, void*), void *a, int, char*)
|
||||
intrdisable(int, void (*f)(Ureg*, void*), void *a, int tbdf, char*)
|
||||
{
|
||||
if(BUSTYPE(tbdf) == BusPCI){
|
||||
pciintrdisable(tbdf, f, a);
|
||||
|
|
Loading…
Reference in a new issue