mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
9104e427f3
commit
587a1f1659
33 changed files with 70 additions and 70 deletions
|
|
@ -642,7 +642,7 @@ static struct attribute *dev_string_attrs[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
static mode_t dev_string_attrs_are_visible(struct kobject *kobj,
|
||||
static umode_t dev_string_attrs_are_visible(struct kobject *kobj,
|
||||
struct attribute *a, int n)
|
||||
{
|
||||
struct device *dev = container_of(kobj, struct device, kobj);
|
||||
|
|
@ -877,7 +877,7 @@ static struct attribute *intf_assoc_attrs[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
static mode_t intf_assoc_attrs_are_visible(struct kobject *kobj,
|
||||
static umode_t intf_assoc_attrs_are_visible(struct kobject *kobj,
|
||||
struct attribute *a, int n)
|
||||
{
|
||||
struct device *dev = container_of(kobj, struct device, kobj);
|
||||
|
|
|
|||
Loading…
Reference in a new issue