Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f4836be authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: omap3isp/isp: remove an unused static var



The isp_xclk_init_data const data isn't used anywere.

drivers/media/platform/omap3isp/isp.c:294:35: warning: ‘isp_xclk_init_data’ defined but not used [-Wunused-const-variable=]
 static const struct clk_init_data isp_xclk_init_data = {
                                   ^~~~~~~~~~~~~~~~~~

Fixes: 9b28ee3c ("[media] omap3isp: Use the common clock framework")

Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 60cc43fc
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -284,13 +284,6 @@ static const struct clk_ops isp_xclk_ops = {


static const char *isp_xclk_parent_name = "cam_mclk";
static const char *isp_xclk_parent_name = "cam_mclk";


static const struct clk_init_data isp_xclk_init_data = {
	.name = "cam_xclk",
	.ops = &isp_xclk_ops,
	.parent_names = &isp_xclk_parent_name,
	.num_parents = 1,
};

static struct clk *isp_xclk_src_get(struct of_phandle_args *clkspec, void *data)
static struct clk *isp_xclk_src_get(struct of_phandle_args *clkspec, void *data)
{
{
	unsigned int idx = clkspec->args[0];
	unsigned int idx = clkspec->args[0];