drm/rockchip: add DRM_RENDER_ALLOW
[firefly-linux-kernel-4.4.55.git] / include / linux / iscsi_boot_sysfs.h
index f0a2f8b0aa134e8b7bf2085d0607dd60bdc4eaf4..2a8b1659bf3579aa41a36483fd1b8350eb7ca545 100644 (file)
@@ -91,7 +91,7 @@ struct iscsi_boot_kobj {
         * The enum of the type. This can be any value of the above
         * properties.
         */
-       mode_t (*is_visible) (void *data, int type);
+       umode_t (*is_visible) (void *data, int type);
 
        /*
         * Driver specific release function.
@@ -110,20 +110,20 @@ struct iscsi_boot_kobj *
 iscsi_boot_create_initiator(struct iscsi_boot_kset *boot_kset, int index,
                            void *data,
                            ssize_t (*show) (void *data, int type, char *buf),
-                           mode_t (*is_visible) (void *data, int type),
+                           umode_t (*is_visible) (void *data, int type),
                            void (*release) (void *data));
 
 struct iscsi_boot_kobj *
 iscsi_boot_create_ethernet(struct iscsi_boot_kset *boot_kset, int index,
                           void *data,
                           ssize_t (*show) (void *data, int type, char *buf),
-                          mode_t (*is_visible) (void *data, int type),
+                          umode_t (*is_visible) (void *data, int type),
                           void (*release) (void *data));
 struct iscsi_boot_kobj *
 iscsi_boot_create_target(struct iscsi_boot_kset *boot_kset, int index,
                         void *data,
                         ssize_t (*show) (void *data, int type, char *buf),
-                        mode_t (*is_visible) (void *data, int type),
+                        umode_t (*is_visible) (void *data, int type),
                         void (*release) (void *data));
 
 struct iscsi_boot_kset *iscsi_boot_create_kset(const char *set_name);