diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/linus/0045-hwmon-s3c-hwmon-Fix-compilation.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap/linus/0045-hwmon-s3c-hwmon-Fix-compilation.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/linus/0045-hwmon-s3c-hwmon-Fix-compilation.patch b/extras/recipes-kernel/linux/linux-omap/linus/0045-hwmon-s3c-hwmon-Fix-compilation.patch new file mode 100644 index 00000000..c322f9c9 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap/linus/0045-hwmon-s3c-hwmon-Fix-compilation.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From cdca50978acd2a0be9ef675b8cdd3b77fadab492 Mon Sep 17 00:00:00 2001 | ||
2 | From: Maurus Cuelenaere <mcuelenaere@gmail.com> | ||
3 | Date: Sun, 2 Jan 2011 14:48:16 -0500 | ||
4 | Subject: [PATCH 45/65] hwmon: (s3c-hwmon) Fix compilation | ||
5 | |||
6 | The owner field was removed from struct attribute in | ||
7 | 6fd69dc578fa0b1bbc3aad70ae3af9a137211707, so don't assign it anymore. | ||
8 | |||
9 | Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> | ||
10 | Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> | ||
11 | --- | ||
12 | drivers/hwmon/s3c-hwmon.c | 2 -- | ||
13 | 1 files changed, 0 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c | ||
16 | index 05248f2..92b42db 100644 | ||
17 | --- a/drivers/hwmon/s3c-hwmon.c | ||
18 | +++ b/drivers/hwmon/s3c-hwmon.c | ||
19 | @@ -234,7 +234,6 @@ static int s3c_hwmon_create_attr(struct device *dev, | ||
20 | attr->index = channel; | ||
21 | attr->dev_attr.attr.name = attrs->in_name; | ||
22 | attr->dev_attr.attr.mode = S_IRUGO; | ||
23 | - attr->dev_attr.attr.owner = THIS_MODULE; | ||
24 | attr->dev_attr.show = s3c_hwmon_ch_show; | ||
25 | |||
26 | ret = device_create_file(dev, &attr->dev_attr); | ||
27 | @@ -252,7 +251,6 @@ static int s3c_hwmon_create_attr(struct device *dev, | ||
28 | attr->index = channel; | ||
29 | attr->dev_attr.attr.name = attrs->label_name; | ||
30 | attr->dev_attr.attr.mode = S_IRUGO; | ||
31 | - attr->dev_attr.attr.owner = THIS_MODULE; | ||
32 | attr->dev_attr.show = s3c_hwmon_label_show; | ||
33 | |||
34 | ret = device_create_file(dev, &attr->dev_attr); | ||
35 | -- | ||
36 | 1.6.6.1 | ||
37 | |||