amlogic/cpu_hotplug: upstream changed from attribute to kobj_attribute

Change-Id: I059cfcb7a009677e8c0b2340c90012c97005d7d9
This commit is contained in:
Mauro (mdrjr) Ribeiro
2019-04-16 12:04:28 -03:00
parent a56f564629
commit bf437aad78

View File

@@ -228,7 +228,7 @@ static int do_null_task(void *data)
}
static ssize_t show_hotplug_max_cpus(struct kobject *kobj,
struct attribute *attr, char *buf)
struct kobj_attribute *attr, char *buf)
{
unsigned int max = 0;
unsigned int c = 0;
@@ -239,7 +239,7 @@ static ssize_t show_hotplug_max_cpus(struct kobject *kobj,
}
static ssize_t store_hotplug_max_cpus(struct kobject *kobj,
struct attribute *attr, const char *buf, size_t count)
struct kobj_attribute *attr, const char *buf, size_t count)
{
unsigned int input;
unsigned int max;