~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal-proposed

« back to all changes in this revision

Viewing changes to sound/pci/es1938.c

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft, Andy Whitcroft
  • Date: 2012-06-21 09:16:38 UTC
  • Revision ID: package-import@ubuntu.com-20120621091638-gubhv4nox8xez1ct
Tags: 3.5.0-1.1
[ Andy Whitcroft]

* Rebuild lowlatency against Ubuntu-3.5.0-1.1
* All new configuration system to allow configuration deltas to be
  exposed via debian.lowlatency/config-delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
 
80
80
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;      /* Index 0-MAX */
81
81
static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;       /* ID for this card */
82
 
static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;      /* Enable this card */
 
82
static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;     /* Enable this card */
83
83
 
84
84
module_param_array(index, int, NULL, 0444);
85
85
MODULE_PARM_DESC(index, "Index value for ESS Solo-1 soundcard.");
1882
1882
        pci_set_drvdata(pci, NULL);
1883
1883
}
1884
1884
 
1885
 
static struct pci_driver driver = {
 
1885
static struct pci_driver es1938_driver = {
1886
1886
        .name = KBUILD_MODNAME,
1887
1887
        .id_table = snd_es1938_ids,
1888
1888
        .probe = snd_es1938_probe,
1893
1893
#endif
1894
1894
};
1895
1895
 
1896
 
static int __init alsa_card_es1938_init(void)
1897
 
{
1898
 
        return pci_register_driver(&driver);
1899
 
}
1900
 
 
1901
 
static void __exit alsa_card_es1938_exit(void)
1902
 
{
1903
 
        pci_unregister_driver(&driver);
1904
 
}
1905
 
 
1906
 
module_init(alsa_card_es1938_init)
1907
 
module_exit(alsa_card_es1938_exit)
 
1896
module_pci_driver(es1938_driver);