linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: guillaume.gardet@free.fr (Guillaume Gardet)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 1/1] Add missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c
Date: Wed, 02 May 2012 15:13:11 +0200	[thread overview]
Message-ID: <4FA132E7.2000403@free.fr> (raw)

Fix compilation error for omap boards (beagleboard, etc.) due to missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c leading to build error:
   CC      drivers/mfd/omap-usb-host.o
drivers/mfd/omap-usb-host.c: In function 'omap_usbhs_init':
drivers/mfd/omap-usb-host.c:524: error: implicit declaration of function 'cpu_is_omap3430'
drivers/mfd/omap-usb-host.c:524: error: implicit declaration of function 'omap_rev'
drivers/mfd/omap-usb-host.c:524: error: 'OMAP3430_REV_ES2_1' undeclared (first use in this function)
drivers/mfd/omap-usb-host.c:524: error: (Each undeclared identifier is reported only once
drivers/mfd/omap-usb-host.c:524: error: for each function it appears in.)


Signed-off-by: Guillaume GARDET<guillaume.gardet@free.fr>

---
KernelVersion: 3.4-rc5

  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

                 reply	other threads:[~2012-05-02 13:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA132E7.2000403@free.fr \
    --to=guillaume.gardet@free.fr \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).