summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
index 6176e6a05f..fac3953ef4 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -431,6 +431,7 @@ struct cdev_operations {
int (*flush)(struct cdev*);
int (*erase)(struct cdev*, loff_t count, loff_t offset);
int (*protect)(struct cdev*, size_t count, loff_t offset, int prot);
+ int (*discard_range)(struct cdev*, loff_t count, loff_t offset);
int (*memmap)(struct cdev*, void **map, int flags);
int (*truncate)(struct cdev*, size_t size);
};