]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
misc/bmp085: Enable building as a module
authorBen Hutchings <ben@decadent.org.uk>
Mon, 14 Dec 2015 14:29:23 +0000 (14:29 +0000)
committerKamal Mostafa <kamal@canonical.com>
Mon, 16 May 2016 17:26:47 +0000 (10:26 -0700)
BugLink: http://bugs.launchpad.net/bugs/1578798
commit 50e6315dba721cbc24ccd6d7b299f1782f210a98 upstream.

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.

Fixes: 985087dbcb02 ("misc: add support for bmp18x chips to the bmp085 driver")
Cc: Eric Andersson <eric.andersson@unixphere.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/misc/Kconfig

index 22892c701c63b8e650fc7a6323934ca13385382b..4bf7d50b1bc7cc8ccb55171d9ca76ac3bd6fe114 100644 (file)
@@ -439,7 +439,7 @@ config ARM_CHARLCD
          still useful.
 
 config BMP085
-       bool
+       tristate
        depends on SYSFS
 
 config BMP085_I2C