imx8, arm64: fix tbdf argumnt position for intrdisable() (thanks cosa)

This commit is contained in:
cinap_lenrek 2024-01-08 20:25:48 +00:00
parent 4d69aacea0
commit e2978c785a
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);