From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
Greg Kroah-Hartman <greg@kroah.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
linuxppc-dev@ozlabs.org, Li Yang <leoli@freescale.com>,
Timur Tabi <timur@freescale.com>
Subject: [PATCH 3/4] USB: Protect hcd.h from multiple inclusions
Date: Wed, 24 Sep 2008 04:03:40 +0400 [thread overview]
Message-ID: <20080924000340.GC29733@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <20080924000255.GA28054@oksana.dev.rtsoft.ru>
This will let us use this header in other header files.
Will be needed for the FHCI USB Host driver.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
drivers/usb/core/hcd.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/core/hcd.h b/drivers/usb/core/hcd.h
index e710ce0..66b64d7 100644
--- a/drivers/usb/core/hcd.h
+++ b/drivers/usb/core/hcd.h
@@ -16,6 +16,8 @@
* Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __USB_CORE_HCD_H
+#define __USB_CORE_HCD_H
#ifdef __KERNEL__
@@ -483,3 +485,5 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
extern struct rw_semaphore ehci_cf_port_reset_rwsem;
#endif /* __KERNEL__ */
+
+#endif /* __USB_CORE_HCD_H */
--
1.5.6.3
WARNING: multiple messages have this Message-ID (diff)
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>,
Greg Kroah-Hartman <greg@kroah.com>,
Kumar Gala <galak@kernel.crashing.org>,
Timur Tabi <timur@freescale.com>, Li Yang <leoli@freescale.com>,
Laurent Pinchart <laurentp@cse-semaphore.com>,
linuxppc-dev@ozlabs.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 3/4] USB: Protect hcd.h from multiple inclusions
Date: Wed, 24 Sep 2008 04:03:40 +0400 [thread overview]
Message-ID: <20080924000340.GC29733@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <20080924000255.GA28054@oksana.dev.rtsoft.ru>
This will let us use this header in other header files.
Will be needed for the FHCI USB Host driver.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
drivers/usb/core/hcd.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/core/hcd.h b/drivers/usb/core/hcd.h
index e710ce0..66b64d7 100644
--- a/drivers/usb/core/hcd.h
+++ b/drivers/usb/core/hcd.h
@@ -16,6 +16,8 @@
* Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef __USB_CORE_HCD_H
+#define __USB_CORE_HCD_H
#ifdef __KERNEL__
@@ -483,3 +485,5 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
extern struct rw_semaphore ehci_cf_port_reset_rwsem;
#endif /* __KERNEL__ */
+
+#endif /* __USB_CORE_HCD_H */
--
1.5.6.3
next prev parent reply other threads:[~2008-09-24 0:03 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 0:02 [PATCH 0/4] FHCI USB Host support patches Anton Vorontsov
2008-09-24 0:02 ` Anton Vorontsov
2008-09-24 0:03 ` [PATCH 1/4] gpiolib: make gpio_to_chip() public Anton Vorontsov
2008-09-24 0:03 ` Anton Vorontsov
2008-09-24 0:03 ` [PATCH 2/4] powerpc/qe: new call to revert a gpio to a dedicated function Anton Vorontsov
2008-09-24 0:03 ` Anton Vorontsov
2008-09-24 4:07 ` Kumar Gala
2008-09-24 4:07 ` Kumar Gala
2008-09-24 11:42 ` Anton Vorontsov
2008-09-24 11:42 ` Anton Vorontsov
2008-09-24 14:00 ` Kumar Gala
2008-09-24 14:00 ` Kumar Gala
2008-09-24 14:11 ` Anton Vorontsov
2008-09-24 14:11 ` Anton Vorontsov
2008-09-24 18:54 ` David Brownell
2008-09-24 18:54 ` David Brownell
2008-09-24 18:54 ` David Brownell
2008-09-24 18:54 ` David Brownell
2008-09-24 23:29 ` Anton Vorontsov
2008-09-24 23:29 ` Anton Vorontsov
2008-09-25 4:13 ` David Brownell
2008-09-25 4:13 ` David Brownell
2008-09-24 0:03 ` Anton Vorontsov [this message]
2008-09-24 0:03 ` [PATCH 3/4] USB: Protect hcd.h from multiple inclusions Anton Vorontsov
2008-09-24 3:35 ` David Brownell
2008-09-24 3:35 ` David Brownell
2008-09-24 0:03 ` [PATCH 4/4] USB: driver for Freescale QUICC Engine USB Host Controller Anton Vorontsov
2008-09-24 0:03 ` Anton Vorontsov
-- strict thread matches above, loose matches on Subject: below --
2008-09-24 18:20 [PATCH v3 0/4] FHCI USB Host support patches Anton Vorontsov
2008-09-24 18:21 ` [PATCH 3/4] USB: Protect hcd.h from multiple inclusions Anton Vorontsov
2008-09-24 18:21 ` Anton Vorontsov
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=20080924000340.GC29733@oksana.dev.rtsoft.ru \
--to=avorontsov@ru.mvista.com \
--cc=akpm@linux-foundation.org \
--cc=dbrownell@users.sourceforge.net \
--cc=greg@kroah.com \
--cc=leoli@freescale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=timur@freescale.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.