public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: stern@rowland.harvard.edu, gregkh@suse.de
Cc: linux-usb-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/usb/host/pci-quirks.c: proper prototypes
Date: Sat, 25 Mar 2006 18:01:53 +0100	[thread overview]
Message-ID: <20060325170153.GE4053@stusta.de> (raw)

This patch adds a header file with proper prototypes for two functions 
in drivers/usb/host/pci-quirks.c.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/usb/host/pci-quirks.c |    1 +
 drivers/usb/host/pci-quirks.h |    7 +++++++
 drivers/usb/host/uhci-hcd.c   |    4 +---
 3 files changed, 9 insertions(+), 3 deletions(-)

--- /dev/null	2006-02-12 01:05:26.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/host/pci-quirks.h	2006-03-25 15:55:14.000000000 +0100
@@ -0,0 +1,7 @@
+#ifndef __LINUX_USB_PCI_QUIRKS_H
+#define __LINUX_USB_PCI_QUIRKS_H
+
+void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
+int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
+
+#endif  /*  __LINUX_USB_PCI_QUIRKS_H  */
--- linux-2.6.16-mm1-full/drivers/usb/host/pci-quirks.c.old	2006-03-25 15:21:49.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/host/pci-quirks.c	2006-03-25 15:55:34.000000000 +0100
@@ -15,6 +15,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/acpi.h>
+#include "pci-quirks.h"
 
 
 #define UHCI_USBLEGSUP		0xc0		/* legacy support */
--- linux-2.6.16-mm1-full/drivers/usb/host/uhci-hcd.c.old	2006-03-25 15:22:20.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/host/uhci-hcd.c	2006-03-25 15:55:54.000000000 +0100
@@ -50,6 +50,7 @@
 
 #include "../core/hcd.h"
 #include "uhci-hcd.h"
+#include "pci-quirks.h"
 
 /*
  * Version Information
@@ -100,9 +101,6 @@
 #include "uhci-q.c"
 #include "uhci-hub.c"
 
-extern void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
-extern int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
-
 /*
  * Finish up a host controller reset and update the recorded state.
  */


                 reply	other threads:[~2006-03-25 17:01 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=20060325170153.GE4053@stusta.de \
    --to=bunk@stusta.de \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /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