#include <linux/compat.h>
struct snd_timer_gparams32 { … } __packed;
struct snd_timer_info32 { … };
static int snd_timer_user_gparams_compat(struct file *file,
struct snd_timer_gparams32 __user *user)
{ … }
static int snd_timer_user_info_compat(struct file *file,
struct snd_timer_info32 __user *_info)
{ … }
enum { … };
static long __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd,
unsigned long arg)
{ … }
static long snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd,
unsigned long arg)
{ … }