linux/include/linux/mtio.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_MTIO_COMPAT_H
#define _LINUX_MTIO_COMPAT_H

#include <linux/compat.h>
#include <uapi/linux/mtio.h>
#include <linux/uaccess.h>

/*
 * helper functions for implementing compat ioctls on the four tape
 * drivers: we define the 32-bit layout of each incompatible structure,
 * plus a wrapper function to copy it to user space in either format.
 */

struct	mtget32 {};
#define MTIOCGET32

struct	mtpos32 {};
#define MTIOCPOS32

static inline int put_user_mtget(void __user *u, struct mtget *k)
{}

static inline int put_user_mtpos(void __user *u, struct mtpos *k)
{}

#endif