Removed cast from sys_inb.
This commit is contained in:
parent
1de4b3a426
commit
ed4ec02ddf
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ _PROTOTYPE(int sys_vinl, (pvl_pair_t *pvl_pairs, int nr_ports) );
|
||||||
_PROTOTYPE(int sys_out, (int port, unsigned long value, int type) );
|
_PROTOTYPE(int sys_out, (int port, unsigned long value, int type) );
|
||||||
|
|
||||||
/* Shorthands for sys_in() system call. */
|
/* Shorthands for sys_in() system call. */
|
||||||
#define sys_inb(p,v) sys_in((p), (unsigned long*) (v), DIO_BYTE)
|
#define sys_inb(p,v) sys_in((p), (v), DIO_BYTE)
|
||||||
#define sys_inw(p,v) sys_in((p), (unsigned long*) (v), DIO_WORD)
|
#define sys_inw(p,v) sys_in((p), (unsigned long*) (v), DIO_WORD)
|
||||||
#define sys_inl(p,v) sys_in((p), (unsigned long*) (v), DIO_LONG)
|
#define sys_inl(p,v) sys_in((p), (unsigned long*) (v), DIO_LONG)
|
||||||
_PROTOTYPE(int sys_in, (int port, unsigned long *value, int type) );
|
_PROTOTYPE(int sys_in, (int port, unsigned long *value, int type) );
|
||||||
|
|
Loading…
Reference in a new issue