]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging/fbtft: Depend on OF
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 17 Sep 2019 17:18:41 +0000 (19:18 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 23 Oct 2019 13:04:26 +0000 (15:04 +0200)
commitf8b5d353394f39d694a58681069307132b273e3c
tree675961078f68d32e0807d79b9500abea1412c2b0
parentde8372703ebf0bdabed6c59dffa17cd0e009c873
staging/fbtft: Depend on OF

BugLink: https://bugs.launchpad.net/bugs/1848750
commit 63f2b1677fba11c5bd02089f25c13421948905f5 upstream.

Commit c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor
interface") removed setting gpios via platform data. This means that
fbtft will now only work with Device Tree so set the dependency.

This also prevents a NULL pointer deref on non-DT platform because
fbtftops.request_gpios is not set in that case anymore.

Fixes: c440eee1a7a1 ("Staging: fbtft: Switch to the gpio descriptor interface")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20190917171843.10334-1-noralf@tronnes.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/staging/fbtft/Kconfig