diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-10-30 08:42:28 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-11-09 23:03:58 +0100 |
commit | cf348c5510bb07f213f7b725b26e7fc0c79dc36e (patch) | |
tree | fbaaedc283d8571bd1af2e6d3ad2ca5178919caa /include/linux | |
parent | 10227d518c8a967e5cc552d24545e0ca2c59f84e (diff) | |
download | barebox-cf348c5510bb07f213f7b725b26e7fc0c79dc36e.tar.gz barebox-cf348c5510bb07f213f7b725b26e7fc0c79dc36e.tar.xz |
mtd: rename class_dev to dev
The mtds own device is named 'dev' in the Kernel whereas it's named
'class_dev' in barebox. Rename it to 'dev' for better compatilibility
to the Kernel.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/mtd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 219a5279cd..e4ce2ae233 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -193,7 +193,7 @@ struct mtd_info { int (*_get_device) (struct mtd_info *mtd); void (*_put_device) (struct mtd_info *mtd); - struct device_d class_dev; + struct device_d dev; struct cdev cdev; struct cdev *cdev_bb; |