diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-11 11:23:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-11 11:23:33 -0700 |
commit | 4c274fff4fa03cf2509e1b01d3712de6131bfa50 (patch) | |
tree | 7a1c32af08c3eb559154f2340431b8de178b167b /drivers/hwmon/sht15.c | |
parent | 474a503d4bf77ae0cbe484dd0842a2648c0b1c28 (diff) | |
parent | 384e724b6b396de32c1e9cb0b7ccdd011bcc2beb (diff) | |
download | op-kernel-dev-4c274fff4fa03cf2509e1b01d3712de6131bfa50.zip op-kernel-dev-4c274fff4fa03cf2509e1b01d3712de6131bfa50.tar.gz |
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
hwmon: (s3c-hwmon) Disable build for S3C64xx
MAINTAINERS: Fix Riku Voipio's address
hwmon: (asus_atk0110) Enable the EC
hwmon: (asus_atk0110) Refactor the code
hwmon: (sht15) Fix spurious section mismatch warning
Diffstat (limited to 'drivers/hwmon/sht15.c')
-rw-r--r-- | drivers/hwmon/sht15.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index 2da6fb2..ebe38b6 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c @@ -623,7 +623,12 @@ static int __devexit sht15_remove(struct platform_device *pdev) } -static struct platform_driver sht_drivers[] = { +/* + * sht_drivers simultaneously refers to __devinit and __devexit function + * which causes spurious section mismatch warning. So use __refdata to + * get rid from this. + */ +static struct platform_driver __refdata sht_drivers[] = { { .driver = { .name = "sht10", |