projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb9eb7
)
Staging: cx25821: use DEFINE_PCI_DEVICE_TABLE
author
Namhyung Kim
<namhyung@gmail.com>
Thu, 9 Dec 2010 16:40:26 +0000
(
01:40
+0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 10 Dec 2010 00:29:48 +0000
(16:29 -0800)
Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-alsa.c
patch
|
blob
|
history
diff --git
a/drivers/staging/cx25821/cx25821-alsa.c
b/drivers/staging/cx25821/cx25821-alsa.c
index
2a01dc0
..
1f2e819
100644
(file)
--- a/
drivers/staging/cx25821/cx25821-alsa.c
+++ b/
drivers/staging/cx25821/cx25821-alsa.c
@@
-629,7
+629,7
@@
static int snd_cx25821_pcm(struct cx25821_audio_dev *chip, int device,
* Only boards with eeprom and byte 1 at eeprom=1 have it
*/
-static
const struct pci_device_id cx25821_audio_pci_tbl[] __devinitdata
= {
+static
DEFINE_PCI_DEVICE_TABLE(cx25821_audio_pci_tbl)
= {
{0x14f1, 0x0920, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{0,}
};