X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/bcb479b3521303e754c6dcef673527eed447c34f..4916a0ea0e56d8521767f47bba71d9b5ccb4c51a:/target/linux/omap24xx/patches-3.1/310-n810-lcd.patch?ds=sidebyside diff --git a/target/linux/omap24xx/patches-3.1/310-n810-lcd.patch b/target/linux/omap24xx/patches-3.1/310-n810-lcd.patch index 614a76fa4..4c630e148 100644 --- a/target/linux/omap24xx/patches-3.1/310-n810-lcd.patch +++ b/target/linux/omap24xx/patches-3.1/310-n810-lcd.patch @@ -1,7 +1,5 @@ -Index: linux-3.1/arch/arm/mach-omap2/board-n8x0.c -=================================================================== ---- linux-3.1.orig/arch/arm/mach-omap2/board-n8x0.c 2011-10-30 19:31:22.825292085 +0100 -+++ linux-3.1/arch/arm/mach-omap2/board-n8x0.c 2011-10-30 19:31:25.817235793 +0100 +--- a/arch/arm/mach-omap2/board-n8x0.c ++++ b/arch/arm/mach-omap2/board-n8x0.c @@ -24,6 +24,7 @@ #include #include @@ -124,11 +122,9 @@ Index: linux-3.1/arch/arm/mach-omap2/board-n8x0.c gpmc_onenand_init(board_onenand_data); n8x0_mmc_init(); n8x0_usb_init(); -Index: linux-3.1/arch/arm/mach-omap2/board-n8x0-lcd.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-3.1/arch/arm/mach-omap2/board-n8x0-lcd.c 2011-10-30 19:31:25.817235793 +0100 -@@ -0,0 +1,229 @@ +--- /dev/null ++++ b/arch/arm/mach-omap2/board-n8x0-lcd.c +@@ -0,0 +1,231 @@ +/* + * linux/arch/arm/mach-omap2/board-n8x0.c + * @@ -208,6 +204,8 @@ Index: linux-3.1/arch/arm/mach-omap2/board-n8x0-lcd.c + + dev_set_drvdata(pd->dev, pd); + tahvo_pwm = pd; ++ ++ return 0; +} + +static struct platform_driver n8x0_tahvo_pwm_driver = { @@ -358,10 +356,8 @@ Index: linux-3.1/arch/arm/mach-omap2/board-n8x0-lcd.c + + printk(KERN_INFO "N8x0 Blizzard initialized"); +} -Index: linux-3.1/arch/arm/mach-omap2/Makefile -=================================================================== ---- linux-3.1.orig/arch/arm/mach-omap2/Makefile 2011-10-30 19:14:57.705562343 +0100 -+++ linux-3.1/arch/arm/mach-omap2/Makefile 2011-10-30 19:31:25.817235793 +0100 +--- a/arch/arm/mach-omap2/Makefile ++++ b/arch/arm/mach-omap2/Makefile @@ -209,6 +209,7 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += boar hsmmc.o \ board-flash.o @@ -370,15 +366,3 @@ Index: linux-3.1/arch/arm/mach-omap2/Makefile obj-$(CONFIG_MACH_NOKIA_RM680) += board-rm680.o \ sdram-nokia.o \ hsmmc.o -Index: linux-3.1/arch/arm/mach-omap2/omap_hwmod_2420_data.c -=================================================================== ---- linux-3.1.orig/arch/arm/mach-omap2/omap_hwmod_2420_data.c 2011-10-30 19:14:57.689562700 +0100 -+++ linux-3.1/arch/arm/mach-omap2/omap_hwmod_2420_data.c 2011-10-30 19:31:25.817235793 +0100 -@@ -1181,6 +1181,7 @@ static struct omap_hwmod_ocp_if *omap242 - - static struct omap_hwmod omap2420_gpio1_hwmod = { - .name = "gpio1", -+ .flags = HWMOD_INIT_NO_RESET, /* Workaround: Don't reset the n810 MIPID */ - .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, - .mpu_irqs = omap2_gpio1_irqs, - .main_clk = "gpios_fck",