From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id 18FE1DE13F for ; Thu, 25 Sep 2008 04:21:47 +1000 (EST) Date: Wed, 24 Sep 2008 22:21:45 +0400 From: Anton Vorontsov To: Andrew Morton Subject: [PATCH 3/4] USB: Protect hcd.h from multiple inclusions Message-ID: <20080924182145.GC25744@oksana.dev.rtsoft.ru> References: <20080924182027.GA11180@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 In-Reply-To: <20080924182027.GA11180@oksana.dev.rtsoft.ru> Cc: David Brownell , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Li Yang , Timur Tabi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Acked-by: David Brownell --- 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