Skip to content

Commit

Permalink
Staging: cx25821: use DEFINE_PCI_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Namhyung Kim authored and Greg Kroah-Hartman committed Dec 10, 2010
1 parent abb9eb7 commit 94ab896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/cx25821/cx25821-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,}
};
Expand Down

0 comments on commit 94ab896

Please sign in to comment.