Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: sa11x0: add assabet ucb1x00 platform data

Add ucb1x00 platform data to enable GPIO support on the UCB1300 device.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

+6
+6
arch/arm/mach-sa1100/assabet.c
··· 15 15 #include <linux/errno.h> 16 16 #include <linux/ioport.h> 17 17 #include <linux/serial_core.h> 18 + #include <linux/mfd/ucb1x00.h> 18 19 #include <linux/mtd/mtd.h> 19 20 #include <linux/mtd/partitions.h> 20 21 #include <linux/delay.h> ··· 200 199 .set_speed = assabet_irda_set_speed, 201 200 }; 202 201 202 + static struct ucb1x00_plat_data assabet_ucb1x00_data = { 203 + .gpio_base = -1, 204 + }; 205 + 203 206 static struct mcp_plat_data assabet_mcp_data = { 204 207 .mccr0 = MCCR0_ADM, 205 208 .sclk_rate = 11981000, 209 + .codec_pdata = &assabet_ucb1x00_data, 206 210 }; 207 211 208 212 static void __init assabet_init(void)