]> git.karo-electronics.de Git - linux-beck.git/commit
tile-srom: allow the driver to be built as a module
authorChris Metcalf <cmetcalf@mellanox.com>
Mon, 7 Nov 2016 20:56:37 +0000 (15:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 14:18:56 +0000 (15:18 +0100)
commit71aeebff2c1153037fb900e17e1accb0f7812f36
tree3196dd3470a8eab13c1fb5bfbdfbfdc32c79568f
parente0cb6b2f878d210441e8ed232e98454ccc7fd812
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>
drivers/char/Kconfig
drivers/char/tile-srom.c