[alsa-devel] [PATCH - ASIHPI 4/8] Include pci table again, avoiding warning about extern.

linux at audioscience.com linux at audioscience.com
Thu Jun 5 06:06:57 CEST 2008

From: Eliot Blennerhassett <linux at audioscience.com>

Signed-off-by: Eliot Blennerhassett <eblennerhassett at audioscience.com>

diff --git a/pci/asihpi/hpimsgx.c b/pci/asihpi/hpimsgx.c
index ac56a24..b843e9f 100644
--- a/pci/asihpi/hpimsgx.c
+++ b/pci/asihpi/hpimsgx.c
@@ -25,7 +25,9 @@ Extended Message Function With Response Cacheing
 #include "hpimsgx.h"
 #include "hpidebug.h"
-extern struct pci_device_id asihpi_pci_tbl[];	/* hpimod.c mod device tbl */
+static struct pci_device_id asihpi_pci_tbl[] = {
+#include "hpipcida.h"
 static struct hpios_spinlock msgxLock;

More information about the Alsa-devel mailing list