misc/bmp085: Enable building as a module

svn path=/dists/trunk/linux/; revision=20295
This commit is contained in:
Ben Hutchings 2013-06-24 14:08:56 +00:00
parent cacd55ccd9
commit 1a53d52cfc
3 changed files with 31 additions and 0 deletions

1
debian/changelog vendored
View File

@ -12,6 +12,7 @@ linux (3.10~rc7-1~exp1) experimental; urgency=low
* [x86] cpufreq: Enable X86_INTEL_PSTATE (Closes: #712062)
* debian/control: Add Homepage field
* debian/watch: Add watch file and update script
* misc/bmp085: Enable building as a module
* misc: Enable BMP085_I2C as module
* team: Enable NET_TEAM_MODE_RANDOM as module
* 8021q: Enable VLAN_8021Q_MVRP

View File

@ -0,0 +1,29 @@
From 09010dbb9b7e3554dbc4335076f6483f7eb2fefd Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Mon, 24 Jun 2013 05:28:00 +0100
Subject: [PATCH] misc/bmp085: Enable building as a module
Commit 985087dbcb02 'misc: add support for bmp18x chips to the bmp085
driver' changed the BMP085 config symbol to a boolean. I see no
reason why the shared code cannot be built as a module, so change it
back to tristate.
Cc: Eric Andersson <eric.andersson@unixphere.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
drivers/misc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index c002d86..7a68184 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -451,7 +451,7 @@ config ARM_CHARLCD
still useful.
config BMP085
- bool
+ tristate
depends on SYSFS
config BMP085_I2C

View File

@ -96,3 +96,4 @@ features/arm/sunxi-emac/0007-net-sun4i-emac-fix-a-typo-in-emac_probe.patch
features/arm/sunxi-emac/0008-net-sun4i-emac-remove-erroneous-assignment.patch
features/arm/sunxi-emac/0009-net-sun4i-emac-Remove-redundant-platform_set_drvdata.patch
features/arm/sunxi-emac/0010-net-sun4i-emac-Staticize-local-symbols.patch
bugfix/all/misc-bmp085-Enable-building-as-a-module.patch