From: Andy Shevchenko Date: Wed, 20 Nov 2019 09:57:15 +0000 (+0200) Subject: fbtft: Make use of device property API X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8b2d3aeeb7ec8110458ba59bf9c8b3af84f1139a;p=linux.git fbtft: Make use of device property API Make use of device property API in this driver so that both OF based system and ACPI based system can use this driver. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20191120095716.26628-4-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 52ea15437c4d9..ffb84987dd867 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -22,8 +22,9 @@ #include #include #include +#include #include -#include + #include