Message ID | 1519319846-18246-1-git-send-email-festevam@gmail.com (mailing list archive) |
---|---|
State | Rejected, archived |
Headers | show |
On Thu, Feb 22, 2018 at 2:17 PM, Fabio Estevam <festevam@gmail.com> wrote: > From: Fabio Estevam <fabio.estevam@nxp.com> > > The prototype for the imx6sl_set_wait_clk() function is provided > by the "common.h" header file, so include it to avoid the following > sparse warning: > > drivers/clk/imx/clk-imx6sl.c:163:6: warning: symbol 'imx6sl_set_wait_clk' was not declared. Should it be static? > > Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> > --- > drivers/clk/imx/clk-imx6sl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/imx/clk-imx6sl.c b/drivers/clk/imx/clk-imx6sl.c > index 9642cdf..bdda77b 100644 > --- a/drivers/clk/imx/clk-imx6sl.c > +++ b/drivers/clk/imx/clk-imx6sl.c > @@ -16,6 +16,7 @@ > #include <dt-bindings/clock/imx6sl-clock.h> > > #include "clk.h" > +#include "common.h" Ops, this causes issues. Please ignore this one. -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/clk/imx/clk-imx6sl.c b/drivers/clk/imx/clk-imx6sl.c index 9642cdf..bdda77b 100644 --- a/drivers/clk/imx/clk-imx6sl.c +++ b/drivers/clk/imx/clk-imx6sl.c @@ -16,6 +16,7 @@ #include <dt-bindings/clock/imx6sl-clock.h> #include "clk.h" +#include "common.h" #define CCSR 0xc #define BM_CCSR_PLL1_SW_CLK_SEL (1 << 2)