aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm72xx/wm_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/gdm72xx/wm_ioctl.h')
-rw-r--r--drivers/staging/gdm72xx/wm_ioctl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/staging/gdm72xx/wm_ioctl.h b/drivers/staging/gdm72xx/wm_ioctl.h
index ed8f649c0042..631cb1d23c7e 100644
--- a/drivers/staging/gdm72xx/wm_ioctl.h
+++ b/drivers/staging/gdm72xx/wm_ioctl.h
@@ -78,13 +78,18 @@ struct data_s {
void *buf;
};
+struct udata_s {
+ int size;
+ void __user *buf;
+};
+
struct wm_req_s {
union {
char ifrn_name[IFNAMSIZ];
} ifr_ifrn;
unsigned short cmd;
unsigned short data_id;
- struct data_s data;
+ struct udata_s data;
/* NOTE: sizeof(struct wm_req_s) must be less than sizeof(struct ifreq). */
};