lkml.org 
[lkml]   [2012]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] drivers: pinctrl: Remove redefinition of 'pinctrl_provide_dummies'
    Date
    From: Fabio Estevam <fabio.estevam@freescale.com>

    For mxs_defconfig and imx_v6_v7_defconfig targets, the following
    build error is observed:

    drivers/pinctrl/core.c:87:6: error: redefinition of 'pinctrl_provide_dummies'

    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    ---
    This applies against linux-next-20120528

    drivers/pinctrl/core.c | 13 -------------
    1 files changed, 0 insertions(+), 13 deletions(-)

    diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
    index 4446a33..4e89097 100644
    --- a/drivers/pinctrl/core.c
    +++ b/drivers/pinctrl/core.c
    @@ -76,19 +76,6 @@ void pinctrl_provide_dummies(void)
    pinctrl_dummy_state = true;
    }

    -/**
    - * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support
    - *
    - * Usually this function is called by platforms without pinctrl driver support
    - * but run with some shared drivers using pinctrl APIs.
    - * After calling this function, the pinctrl core will return successfully
    - * with creating a dummy state for the driver to keep going smoothly.
    - */
    -void pinctrl_provide_dummies(void)
    -{
    - pinctrl_dummy_state = true;
    -}
    -
    const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev)
    {
    /* We're not allowed to register devices without name */
    --
    1.7.1


    \
     
     \ /
      Last update: 2012-05-29 05:41    [W:0.022 / U:5.400 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site