amlogic: cpu_hotplug: fix build with newer kernels

This commit is contained in:
Mauro (mdrjr) Ribeiro
2020-04-07 15:05:03 -03:00
parent 8faeb489b1
commit 7e738c03bc

View File

@@ -234,7 +234,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;
@@ -245,7 +245,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;