diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 15:00:22 +0000 | 
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 15:00:22 +0000 | 
| commit | 4de3a8e101150feaefa1139611a50ff37467f33e (patch) | |
| tree | daada742542518b02d7db7c5d32e715eaa5f166d /arch/sh/boards/mach-se/7724/setup.c | |
| parent | 294064f58953f9964e5945424b09c51800330a83 (diff) | |
| parent | 099469502f62fbe0d7e4f0b83a2f22538367f734 (diff) | |
| download | olio-linux-3.10-4de3a8e101150feaefa1139611a50ff37467f33e.tar.xz olio-linux-3.10-4de3a8e101150feaefa1139611a50ff37467f33e.zip  | |
Merge branch 'master' into fixes
Diffstat (limited to 'arch/sh/boards/mach-se/7724/setup.c')
| -rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 44 | 
1 files changed, 13 insertions, 31 deletions
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index b747c0ab926..2585733e9bc 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c @@ -210,9 +210,6 @@ static struct platform_device lcdc_device = {  	.dev		= {  		.platform_data	= &lcdc_info,  	}, -	.archdata = { -		.hwblk_id = HWBLK_LCDC, -	},  };  /* CEU0 */ @@ -244,9 +241,6 @@ static struct platform_device ceu0_device = {  	.dev	= {  		.platform_data	= &sh_mobile_ceu0_info,  	}, -	.archdata = { -		.hwblk_id = HWBLK_CEU0, -	},  };  /* CEU1 */ @@ -278,9 +272,6 @@ static struct platform_device ceu1_device = {  	.dev	= {  		.platform_data	= &sh_mobile_ceu1_info,  	}, -	.archdata = { -		.hwblk_id = HWBLK_CEU1, -	},  };  /* FSI */ @@ -310,13 +301,22 @@ static struct platform_device fsi_device = {  	.dev	= {  		.platform_data	= &fsi_info,  	}, -	.archdata = { -		.hwblk_id = HWBLK_SPU, /* FSI needs SPU hwblk */ -	}, +}; + +static struct fsi_ak4642_info fsi_ak4642_info = { +	.name		= "AK4642", +	.card		= "FSIA-AK4642", +	.cpu_dai	= "fsia-dai", +	.codec		= "ak4642-codec.0-0012", +	.platform	= "sh_fsi.0", +	.id		= FSI_PORT_A,  };  static struct platform_device fsi_ak4642_device = { -	.name		= "sh_fsi_a_ak4642", +	.name	= "fsi-ak4642-audio", +	.dev	= { +		.platform_data	= &fsi_ak4642_info, +	},  };  /* KEYSC in SoC (Needs SW33-2 set to ON) */ @@ -355,9 +355,6 @@ static struct platform_device keysc_device = {  	.dev	= {  		.platform_data	= &keysc_info,  	}, -	.archdata = { -		.hwblk_id = HWBLK_KEYSC, -	},  };  /* SH Eth */ @@ -386,9 +383,6 @@ static struct platform_device sh_eth_device = {  	},  	.num_resources = ARRAY_SIZE(sh_eth_resources),  	.resource = sh_eth_resources, -	.archdata = { -		.hwblk_id = HWBLK_ETHER, -	},  };  static struct r8a66597_platdata sh7724_usb0_host_data = { @@ -418,9 +412,6 @@ static struct platform_device sh7724_usb0_host_device = {  	},  	.num_resources	= ARRAY_SIZE(sh7724_usb0_host_resources),  	.resource	= sh7724_usb0_host_resources, -	.archdata = { -		.hwblk_id = HWBLK_USB0, -	},  };  static struct r8a66597_platdata sh7724_usb1_gadget_data = { @@ -479,9 +470,6 @@ static struct platform_device sdhi0_cn7_device = {  	.dev = {  		.platform_data	= &sh7724_sdhi0_data,  	}, -	.archdata = { -		.hwblk_id = HWBLK_SDHI0, -	},  };  static struct resource sdhi1_cn8_resources[] = { @@ -511,9 +499,6 @@ static struct platform_device sdhi1_cn8_device = {  	.dev = {  		.platform_data	= &sh7724_sdhi1_data,  	}, -	.archdata = { -		.hwblk_id = HWBLK_SDHI1, -	},  };  /* IrDA */ @@ -576,9 +561,6 @@ static struct platform_device vou_device = {  	.dev		= {  		.platform_data	= &sh_vou_pdata,  	}, -	.archdata	= { -		.hwblk_id	= HWBLK_VOU, -	},  };  static struct platform_device *ms7724se_devices[] __initdata = {  |