X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=arch%2Farm%2Fmach-sa1100%2Fsimpad.c;fp=arch%2Farm%2Fmach-sa1100%2Fsimpad.c;h=7eac8ebab94e778fac66bc9ff09437d8e2a5c188;hb=5dd7bf59e0e8563265b3e5b33276099ef628fcc7;hp=4790f3f3d008b422d1d5be85a80d8ffae3a65eae;hpb=c9531227b289947950cce29cfe881b768bf9d7d9;p=cascardo%2Flinux.git diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 4790f3f3d008..7eac8ebab94e 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -187,10 +188,15 @@ static struct resource simpad_flash_resources [] = { } }; +static struct ucb1x00_plat_data simpad_ucb1x00_data = { + .gpio_base = SIMPAD_UCB1X00_GPIO_BASE, +}; + static struct mcp_plat_data simpad_mcp_data = { .mccr0 = MCCR0_ADM, .sclk_rate = 11981000, - .gpio_base = SIMPAD_UCB1X00_GPIO_BASE, + .codec = "ucb1300", + .codec_pdata = &simpad_ucb1x00_data, };