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

Commit fee3b674 authored by Graeme Smecher's avatar Graeme Smecher Committed by Tony Lindgren
Browse files

ARM: ti81xx: Move I2C entries in omap_hwmod_81xx to maintain grouping



There is no functional change here; the I2C and ELM entries leaked
into each other and this separates them again.

Signed-off-by: default avatarGraeme Smecher <gsmecher@threespeedlogic.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent bfeffd15
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -432,6 +432,13 @@ static struct omap_hwmod dm81xx_i2c2_hwmod = {
	.class		= &i2c_class,
};

static struct omap_hwmod_ocp_if dm81xx_l4_ls__i2c2 = {
	.master		= &dm81xx_l4_ls_hwmod,
	.slave		= &dm81xx_i2c2_hwmod,
	.clk		= "sysclk6_ck",
	.user		= OCP_USER_MPU,
};

static struct omap_hwmod_class_sysconfig dm81xx_elm_sysc = {
	.rev_offs	= 0x0000,
	.sysc_offs	= 0x0010,
@@ -443,13 +450,6 @@ static struct omap_hwmod_class_sysconfig dm81xx_elm_sysc = {
	.sysc_fields	= &omap_hwmod_sysc_type1,
};

static struct omap_hwmod_ocp_if dm81xx_l4_ls__i2c2 = {
	.master		= &dm81xx_l4_ls_hwmod,
	.slave		= &dm81xx_i2c2_hwmod,
	.clk		= "sysclk6_ck",
	.user		= OCP_USER_MPU,
};

static struct omap_hwmod_class dm81xx_elm_hwmod_class = {
	.name = "elm",
	.sysc = &dm81xx_elm_sysc,