[opensuse-kernel] [PATCH] Fix compilation error for omap2plus due to missing include leading to error with unknown cpu_is_omap3430, omap_rev and OMAP3430_REV_ES2_1.
From: Guillaume GARDET <guillaume.gardet@oliseo.fr> --- drivers/mfd/omap-usb-host.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index c8aae66..7e96bb2 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -25,6 +25,7 @@ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/spinlock.h> +#include <plat/cpu.h> #include <plat/usb.h> #include <linux/pm_runtime.h> -- 1.7.7 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi, I forgot to send it with config patches yesterday. Without this patch omap2plus kernel 3.4-rc5 will not be built. Cheers, Guillaume Le 01/05/2012 19:04, Guillaume GARDET a écrit :
From: Guillaume GARDET<guillaume.gardet@oliseo.fr>
--- drivers/mfd/omap-usb-host.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index c8aae66..7e96bb2 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -25,6 +25,7 @@ #include<linux/clk.h> #include<linux/dma-mapping.h> #include<linux/spinlock.h> +#include<plat/cpu.h> #include<plat/usb.h> #include<linux/pm_runtime.h>
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/01/2012 01:04 PM, Guillaume GARDET wrote:
From: Guillaume GARDET <guillaume.gardet@oliseo.fr>
For this one we will actually need a proper patch header and it should be sent upstream as well. It should contain: From: <from info> Subject: [PATCH] arm/omap2plus: Add include <plat/cpu.h> Patch-mainline: Submitted on $DATESUBMITTED <error message encountered while building> Signed-off-by: <your sign off>
--- drivers/mfd/omap-usb-host.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index c8aae66..7e96bb2 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -25,6 +25,7 @@ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/spinlock.h> +#include <plat/cpu.h> #include <plat/usb.h> #include <linux/pm_runtime.h>
- -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPoCLXAAoJEB57S2MheeWyrQUQAKNmhbkiHNo7D4+KE8YrN+r/ zo0m9VNRwWBxLbvOqC8KCp7WrwMXijiQCZea86lmn6aY48PcYmJ2nh9H7GyNO8qP JzExO10k6hK3RAFfr+4LDHThQGd6u3s+JwYpSWVErguQPyGC/5FkORCRa5mr/vXM A7H1Xc5ZKZGVnKXu6Z0gNQTlD8BewXyE2Iuxh4Oyd8quFbJYGvjPj+/GC7E96q0w vI0iL/oHpOGZXxtCKw3wdspgdtaN/JBmIkTm5kren8t+kymO3SZNWoB1oYbspXwj +QdMWirwOg2Kne4bFIu9waEZ9hRXVX4SpauSOQT0Qdw4yBUTDo3mfTrOOlK+A7iS 6BpN7k9BVV3x8aaLcDC+zg+u4M8cOB+WcAqRu/VICDk5SPKWjYKCzD5RhOdR1pxO A/fUOC1/9eAimkk1x64+OWHDOgG17Vnbo9KCciDObJZGuKyebn3Nb5dDjAmPhB/A WvPsJdlIpIbJsBTkETH0qtoC2xnCVXzFr1SA3Go49Rd3bmsQeof0hKWMQbXPFHS6 HUjNBTebDUKUTcqhvnGUT85N8KgxRXt09Fela15yYZ/VktxTRwwlwEOG2Ql8F5x9 vgP/yQNA3sAnaTfEgO6v6vCVIO9eytbFQOK7dfuOKbg7oHA9WeMaS9tmws7AOCC1 /r6a+eo6iJkeBeVuLf3w =pT3q -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Guillaume GARDET
-
Guillaume Gardet
-
Jeff Mahoney