lkml.org 
[lkml]   [2021]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 13/13] gpio: Use linux/gpio/driver.h
    Date
    New drivers should include <linux/gpio/driver.h> instead
    of legacy <linux/gpio.h>.

    Signed-off-by: Brad Larson <brad@pensando.io>
    ---
    drivers/gpio/gpio-elba-spics.c | 3 +--
    1 file changed, 1 insertion(+), 2 deletions(-)

    diff --git a/drivers/gpio/gpio-elba-spics.c b/drivers/gpio/gpio-elba-spics.c
    index 351bbaeea033..c0dce5333f35 100644
    --- a/drivers/gpio/gpio-elba-spics.c
    +++ b/drivers/gpio/gpio-elba-spics.c
    @@ -6,11 +6,10 @@
    */

    #include <linux/err.h>
    -#include <linux/gpio.h>
    +#include <linux/gpio/driver.h>
    #include <linux/module.h>
    #include <linux/io.h>
    #include <linux/init.h>
    -//#include <linux/of.h>
    #include <linux/platform_device.h>
    #include <linux/spinlock.h>
    #include <linux/types.h>
    --
    2.17.1
    \
     
     \ /
      Last update: 2021-03-29 04:09    [W:4.158 / U:1.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site