cdev: Add discard_range hook
To pass though discard_range() to the underlying drivers add a
discard_range hook to struct cdev_operations.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6a1daf5 commit a18f5ad97df6b3d0768c8b741e85da077f990cc7
@Sascha Hauer Sascha Hauer authored on 13 Dec 2019
Showing 2 changed files
View
fs/devfs.c
View
include/driver.h