|
@@ -181,7 +181,7 @@ static ssize_t show_label(struct device *dev, struct device_attribute *devattr,
|
|
return sprintf(buf, "%s\n", sdata->label);
|
|
return sprintf(buf, "%s\n", sdata->label);
|
|
}
|
|
}
|
|
|
|
|
|
-static int __init get_logical_cpu(int hwcpu)
|
|
|
|
|
|
+static int get_logical_cpu(int hwcpu)
|
|
{
|
|
{
|
|
int cpu;
|
|
int cpu;
|
|
|
|
|
|
@@ -192,9 +192,8 @@ static int __init get_logical_cpu(int hwcpu)
|
|
return -ENOENT;
|
|
return -ENOENT;
|
|
}
|
|
}
|
|
|
|
|
|
-static void __init make_sensor_label(struct device_node *np,
|
|
|
|
- struct sensor_data *sdata,
|
|
|
|
- const char *label)
|
|
|
|
|
|
+static void make_sensor_label(struct device_node *np,
|
|
|
|
+ struct sensor_data *sdata, const char *label)
|
|
{
|
|
{
|
|
u32 id;
|
|
u32 id;
|
|
size_t n;
|
|
size_t n;
|