diff options
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 96acef8dd91..5b3adb8f958 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -343,7 +343,7 @@ struct class { | |||
343 | struct kobject *dev_kobj; | 343 | struct kobject *dev_kobj; |
344 | 344 | ||
345 | int (*dev_uevent)(struct device *dev, struct kobj_uevent_env *env); | 345 | int (*dev_uevent)(struct device *dev, struct kobj_uevent_env *env); |
346 | char *(*devnode)(struct device *dev, mode_t *mode); | 346 | char *(*devnode)(struct device *dev, umode_t *mode); |
347 | 347 | ||
348 | void (*class_release)(struct class *class); | 348 | void (*class_release)(struct class *class); |
349 | void (*dev_release)(struct device *dev); | 349 | void (*dev_release)(struct device *dev); |
@@ -472,7 +472,7 @@ struct device_type { | |||
472 | const char *name; | 472 | const char *name; |
473 | const struct attribute_group **groups; | 473 | const struct attribute_group **groups; |
474 | int (*uevent)(struct device *dev, struct kobj_uevent_env *env); | 474 | int (*uevent)(struct device *dev, struct kobj_uevent_env *env); |
475 | char *(*devnode)(struct device *dev, mode_t *mode); | 475 | char *(*devnode)(struct device *dev, umode_t *mode); |
476 | void (*release)(struct device *dev); | 476 | void (*release)(struct device *dev); |
477 | 477 | ||
478 | const struct dev_pm_ops *pm; | 478 | const struct dev_pm_ops *pm; |
@@ -793,7 +793,7 @@ extern int device_rename(struct device *dev, const char *new_name); | |||
793 | extern int device_move(struct device *dev, struct device *new_parent, | 793 | extern int device_move(struct device *dev, struct device *new_parent, |
794 | enum dpm_order dpm_order); | 794 | enum dpm_order dpm_order); |
795 | extern const char *device_get_devnode(struct device *dev, | 795 | extern const char *device_get_devnode(struct device *dev, |
796 | mode_t *mode, const char **tmp); | 796 | umode_t *mode, const char **tmp); |
797 | extern void *dev_get_drvdata(const struct device *dev); | 797 | extern void *dev_get_drvdata(const struct device *dev); |
798 | extern int dev_set_drvdata(struct device *dev, void *data); | 798 | extern int dev_set_drvdata(struct device *dev, void *data); |
799 | 799 | ||