diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/arm/mach-imx/mach-pcm037.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/arm/mach-imx/mach-pcm037.c')
| -rw-r--r-- | arch/arm/mach-imx/mach-pcm037.c | 13 | 
1 files changed, 6 insertions, 7 deletions
| diff --git a/arch/arm/mach-imx/mach-pcm037.c b/arch/arm/mach-imx/mach-pcm037.c index b787ba6897e4..004737c40fda 100644 --- a/arch/arm/mach-imx/mach-pcm037.c +++ b/arch/arm/mach-imx/mach-pcm037.c @@ -23,7 +23,7 @@  #include <linux/smsc911x.h>  #include <linux/interrupt.h>  #include <linux/i2c.h> -#include <linux/platform_data/at24.h> +#include <linux/property.h>  #include <linux/delay.h>  #include <linux/spi/spi.h>  #include <linux/irq.h> @@ -263,16 +263,15 @@ static const struct imxi2c_platform_data pcm037_i2c2_data __initconst = {  	.bitrate = 20000,  }; -static struct at24_platform_data board_eeprom = { -	.byte_len = 4096, -	.page_size = 32, -	.flags = AT24_FLAG_ADDR16, +static const struct property_entry board_eeprom_properties[] = { +	PROPERTY_ENTRY_U32("pagesize", 32), +	{ }  };  static struct i2c_board_info pcm037_i2c_devices[] = {  	{ -		I2C_BOARD_INFO("at24", 0x52), /* E0=0, E1=1, E2=0 */ -		.platform_data = &board_eeprom, +		I2C_BOARD_INFO("24c32", 0x52), /* E0=0, E1=1, E2=0 */ +		.properties = board_eeprom_properties,  	}, {  		I2C_BOARD_INFO("pcf8563", 0x51),  	} |