static int wait_ioctl(struct gpib_file_private *file_priv, struct gpib_board *board,
unsigned long arg)
{
- wait_ioctl_t wait_cmd;
+ struct gpib_wait_ioctl wait_cmd;
int retval;
struct gpib_descriptor *desc;
int eos_flags;
};
-typedef struct {
+struct gpib_wait_ioctl {
int handle;
int wait_mask;
int clear_mask;
int pad;
int sad;
unsigned int usec_timeout;
-} wait_ioctl_t;
+};
typedef struct {
uint64_t init_data_ptr;
IBCMD = _IOWR(GPIB_CODE, 102, struct gpib_read_write_ioctl),
IBOPENDEV = _IOWR(GPIB_CODE, 3, struct gpib_open_dev_ioctl),
IBCLOSEDEV = _IOW(GPIB_CODE, 4, struct gpib_close_dev_ioctl),
- IBWAIT = _IOWR(GPIB_CODE, 5, wait_ioctl_t),
+ IBWAIT = _IOWR(GPIB_CODE, 5, struct gpib_wait_ioctl),
IBRPP = _IOWR(GPIB_CODE, 6, uint8_t),
IBSIC = _IOW(GPIB_CODE, 9, unsigned int),