diff options
author | John Crispin <blogic@openwrt.org> | 2012-10-17 21:53:37 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-10-17 21:53:37 +0000 |
commit | fb47a917c207afa0631518b0b7a80e19ac0c796d (patch) | |
tree | 7119a1430707d10597e1c1a4cb2d4189cb396fbd /target/linux/ixp4xx/patches-3.3/300-avila_support.patch | |
parent | c921e6607e2a0db1af65834d172f83d59268b71e (diff) | |
download | master-187ad058-fb47a917c207afa0631518b0b7a80e19ac0c796d.tar.gz master-187ad058-fb47a917c207afa0631518b0b7a80e19ac0c796d.tar.bz2 master-187ad058-fb47a917c207afa0631518b0b7a80e19ac0c796d.zip |
drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-3.3/300-avila_support.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-3.3/300-avila_support.patch | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/target/linux/ixp4xx/patches-3.3/300-avila_support.patch b/target/linux/ixp4xx/patches-3.3/300-avila_support.patch index 958a3aecc1..0f10c2e149 100644 --- a/target/linux/ixp4xx/patches-3.3/300-avila_support.patch +++ b/target/linux/ixp4xx/patches-3.3/300-avila_support.patch @@ -117,7 +117,7 @@ .name = "intrq", .start = IRQ_IXP4XX_GPIO12, .end = IRQ_IXP4XX_GPIO12, -@@ -133,21 +210,280 @@ static struct platform_device avila_pata +@@ -133,21 +210,275 @@ static struct platform_device avila_pata .resource = avila_pata_resources, }; @@ -240,11 +240,6 @@ }; -static void __init avila_init(void) -+static struct platform_device avila_gpio_dev = { -+ .name = "GPIODEV", -+ .id = -1, -+}; -+ +/* + * Audio Devices + */ @@ -405,7 +400,7 @@ avila_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(1); avila_pata_resources[0].end = IXP4XX_EXP_BUS_END(1); -@@ -159,8 +495,274 @@ static void __init avila_init(void) +@@ -159,8 +495,272 @@ static void __init avila_init(void) avila_pata_data.cs1_cfg = IXP4XX_EXP_CS2; platform_device_register(&avila_pata); @@ -650,8 +645,6 @@ + + i2c_register_board_info(0, avila_i2c_board_info, + ARRAY_SIZE(avila_i2c_board_info)); -+ -+ platform_device_register(&avila_gpio_dev); +} + +static int __init avila_model_setup(void) |