summaryrefslogtreecommitdiffstats
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cdev.h')
-rw-r--r--include/linux/cdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cdev.h b/include/linux/cdev.h
index 408bc09..cb28eb2 100644
--- a/include/linux/cdev.h
+++ b/include/linux/cdev.h
@@ -17,7 +17,7 @@ struct cdev {
struct list_head list;
dev_t dev;
unsigned int count;
-};
+} __randomize_layout;
void cdev_init(struct cdev *, const struct file_operations *);
OpenPOWER on IntegriCloud