diff options
author | Chris Metcalf <cmetcalf@mellanox.com> | 2016-11-07 15:56:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 15:18:56 +0100 |
commit | 71aeebff2c1153037fb900e17e1accb0f7812f36 (patch) | |
tree | 3196dd3470a8eab13c1fb5bfbdfbfdc32c79568f /drivers/char/Kconfig | |
parent | e0cb6b2f878d210441e8ed232e98454ccc7fd812 (diff) | |
download | linux-71aeebff2c1153037fb900e17e1accb0f7812f36.tar.gz linux-71aeebff2c1153037fb900e17e1accb0f7812f36.tar.bz2 linux-71aeebff2c1153037fb900e17e1accb0f7812f36.zip |
tile-srom: allow the driver to be built as a module
The code was already configured that way, but the Kconfig
file didn't support requesting it.
A buglet caused a null pointer deref when unloading the
module, but this commit also corrects that issue.
Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r-- | drivers/char/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index dc4f35ad19d0..c17604f8c7c1 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -577,7 +577,7 @@ config DEVPORT source "drivers/s390/char/Kconfig" config TILE_SROM - bool "Character-device access via hypervisor to the Tilera SPI ROM" + tristate "Character-device access via hypervisor to the Tilera SPI ROM" depends on TILE default y ---help--- |