lkml.org 
[lkml]   [2000]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] __devinitdata and const in drivers/sound
2.3.46 broke four sound drivers by trying to place const data in the
data section.

-- Chris

--- linux/drivers/sound/es1370.c.csb.2.3.46 Thu Feb 17 09:56:41 2000
+++ linux/drivers/sound/es1370.c Thu Feb 17 09:57:26 2000
@@ -2589,7 +2589,7 @@
dev->driver_data = NULL;
}

-static const struct pci_device_id id_table[] __devinitdata = {
+static struct pci_device_id id_table[] __devinitdata = {
{ PCI_VENDOR_ID_ENSONIQ, PCI_DEVICE_ID_ENSONIQ_ES1370, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
{ 0, 0, 0, 0, 0, 0 }
};
--- linux/drivers/sound/es1371.c.csb.2.3.46 Thu Feb 17 09:27:34 2000
+++ linux/drivers/sound/es1371.c Thu Feb 17 09:46:20 2000
@@ -2788,7 +2788,7 @@
dev->driver_data = NULL;
}

-static const struct pci_device_id id_table[] __devinitdata = {
+static struct pci_device_id id_table[] __devinitdata = {
{ PCI_VENDOR_ID_ENSONIQ, PCI_DEVICE_ID_ENSONIQ_ES1371, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
{ PCI_VENDOR_ID_ENSONIQ, PCI_DEVICE_ID_ENSONIQ_CT5880, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
{ PCI_VENDOR_ID_ECTIVA, PCI_DEVICE_ID_ECTIVA_EV1938, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
--- linux/drivers/sound/esssolo1.c.csb.2.3.46 Thu Feb 17 09:56:59 2000
+++ linux/drivers/sound/esssolo1.c Thu Feb 17 09:57:36 2000
@@ -2318,7 +2318,7 @@
dev->driver_data = NULL;
}

-static const struct pci_device_id id_table[] __devinitdata = {
+static struct pci_device_id id_table[] __devinitdata = {
{ PCI_VENDOR_ID_ESS, PCI_DEVICE_ID_ESS_SOLO1, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
{ 0, 0, 0, 0, 0, 0 }
};
--- linux/drivers/sound/sonicvibes.c.csb.2.3.46 Thu Feb 17 09:57:10 2000
+++ linux/drivers/sound/sonicvibes.c Thu Feb 17 09:58:00 2000
@@ -2625,7 +2625,7 @@
dev->driver_data = NULL;
}

-static const struct pci_device_id id_table[] __devinitdata = {
+static struct pci_device_id id_table[] __devinitdata = {
{ PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_SONICVIBES, PCI_ANY_ID, PCI_ANY_ID, 0, 0 },
{ 0, 0, 0, 0, 0, 0 }
};
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.046 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site