aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/ice1712.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ice1712/ice1712.c')
-rw-r--r--sound/pci/ice1712/ice1712.c94
1 files changed, 47 insertions, 47 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index dd64e223f5cf..2ffdc35d5ffd 100644
--- a/sound/pci/ice1712/ice1712.c
+++ b/sound/pci/ice1712/ice1712.c
@@ -279,7 +279,7 @@ static int snd_ice1712_digmix_route_ac97_put(struct snd_kcontrol *kcontrol, stru
279 return val != nval; 279 return val != nval;
280} 280}
281 281
282static struct snd_kcontrol_new snd_ice1712_mixer_digmix_route_ac97 __devinitdata = { 282static struct snd_kcontrol_new snd_ice1712_mixer_digmix_route_ac97 = {
283 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 283 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
284 .name = "Digital Mixer To AC97", 284 .name = "Digital Mixer To AC97",
285 .info = snd_ice1712_digmix_route_ac97_info, 285 .info = snd_ice1712_digmix_route_ac97_info,
@@ -387,7 +387,7 @@ static void setup_cs8427(struct snd_ice1712 *ice, int rate)
387/* 387/*
388 * create and initialize callbacks for cs8427 interface 388 * create and initialize callbacks for cs8427 interface
389 */ 389 */
390int __devinit snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr) 390int snd_ice1712_init_cs8427(struct snd_ice1712 *ice, int addr)
391{ 391{
392 int err; 392 int err;
393 393
@@ -878,7 +878,7 @@ static struct snd_pcm_ops snd_ice1712_capture_ops = {
878 .pointer = snd_ice1712_capture_pointer, 878 .pointer = snd_ice1712_capture_pointer,
879}; 879};
880 880
881static int __devinit snd_ice1712_pcm(struct snd_ice1712 *ice, int device, struct snd_pcm **rpcm) 881static int snd_ice1712_pcm(struct snd_ice1712 *ice, int device, struct snd_pcm **rpcm)
882{ 882{
883 struct snd_pcm *pcm; 883 struct snd_pcm *pcm;
884 int err; 884 int err;
@@ -908,7 +908,7 @@ static int __devinit snd_ice1712_pcm(struct snd_ice1712 *ice, int device, struct
908 return 0; 908 return 0;
909} 909}
910 910
911static int __devinit snd_ice1712_pcm_ds(struct snd_ice1712 *ice, int device, struct snd_pcm **rpcm) 911static int snd_ice1712_pcm_ds(struct snd_ice1712 *ice, int device, struct snd_pcm **rpcm)
912{ 912{
913 struct snd_pcm *pcm; 913 struct snd_pcm *pcm;
914 int err; 914 int err;
@@ -1253,7 +1253,7 @@ static struct snd_pcm_ops snd_ice1712_capture_pro_ops = {
1253 .pointer = snd_ice1712_capture_pro_pointer, 1253 .pointer = snd_ice1712_capture_pro_pointer,
1254}; 1254};
1255 1255
1256static int __devinit snd_ice1712_pcm_profi(struct snd_ice1712 *ice, int device, struct snd_pcm **rpcm) 1256static int snd_ice1712_pcm_profi(struct snd_ice1712 *ice, int device, struct snd_pcm **rpcm)
1257{ 1257{
1258 struct snd_pcm *pcm; 1258 struct snd_pcm *pcm;
1259 int err; 1259 int err;
@@ -1387,7 +1387,7 @@ static int snd_ice1712_pro_mixer_volume_put(struct snd_kcontrol *kcontrol, struc
1387 1387
1388static const DECLARE_TLV_DB_SCALE(db_scale_playback, -14400, 150, 0); 1388static const DECLARE_TLV_DB_SCALE(db_scale_playback, -14400, 150, 0);
1389 1389
1390static struct snd_kcontrol_new snd_ice1712_multi_playback_ctrls[] __devinitdata = { 1390static struct snd_kcontrol_new snd_ice1712_multi_playback_ctrls[] = {
1391 { 1391 {
1392 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1392 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1393 .name = "Multi Playback Switch", 1393 .name = "Multi Playback Switch",
@@ -1411,7 +1411,7 @@ static struct snd_kcontrol_new snd_ice1712_multi_playback_ctrls[] __devinitdata
1411 }, 1411 },
1412}; 1412};
1413 1413
1414static struct snd_kcontrol_new snd_ice1712_multi_capture_analog_switch __devinitdata = { 1414static struct snd_kcontrol_new snd_ice1712_multi_capture_analog_switch = {
1415 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1415 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1416 .name = "H/W Multi Capture Switch", 1416 .name = "H/W Multi Capture Switch",
1417 .info = snd_ice1712_pro_mixer_switch_info, 1417 .info = snd_ice1712_pro_mixer_switch_info,
@@ -1420,7 +1420,7 @@ static struct snd_kcontrol_new snd_ice1712_multi_capture_analog_switch __devinit
1420 .private_value = 10, 1420 .private_value = 10,
1421}; 1421};
1422 1422
1423static struct snd_kcontrol_new snd_ice1712_multi_capture_spdif_switch __devinitdata = { 1423static struct snd_kcontrol_new snd_ice1712_multi_capture_spdif_switch = {
1424 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1424 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1425 .name = SNDRV_CTL_NAME_IEC958("Multi ", CAPTURE, SWITCH), 1425 .name = SNDRV_CTL_NAME_IEC958("Multi ", CAPTURE, SWITCH),
1426 .info = snd_ice1712_pro_mixer_switch_info, 1426 .info = snd_ice1712_pro_mixer_switch_info,
@@ -1430,7 +1430,7 @@ static struct snd_kcontrol_new snd_ice1712_multi_capture_spdif_switch __devinitd
1430 .count = 2, 1430 .count = 2,
1431}; 1431};
1432 1432
1433static struct snd_kcontrol_new snd_ice1712_multi_capture_analog_volume __devinitdata = { 1433static struct snd_kcontrol_new snd_ice1712_multi_capture_analog_volume = {
1434 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1434 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1435 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE | 1435 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
1436 SNDRV_CTL_ELEM_ACCESS_TLV_READ), 1436 SNDRV_CTL_ELEM_ACCESS_TLV_READ),
@@ -1442,7 +1442,7 @@ static struct snd_kcontrol_new snd_ice1712_multi_capture_analog_volume __devinit
1442 .tlv = { .p = db_scale_playback } 1442 .tlv = { .p = db_scale_playback }
1443}; 1443};
1444 1444
1445static struct snd_kcontrol_new snd_ice1712_multi_capture_spdif_volume __devinitdata = { 1445static struct snd_kcontrol_new snd_ice1712_multi_capture_spdif_volume = {
1446 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1446 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1447 .name = SNDRV_CTL_NAME_IEC958("Multi ", CAPTURE, VOLUME), 1447 .name = SNDRV_CTL_NAME_IEC958("Multi ", CAPTURE, VOLUME),
1448 .info = snd_ice1712_pro_mixer_volume_info, 1448 .info = snd_ice1712_pro_mixer_volume_info,
@@ -1452,7 +1452,7 @@ static struct snd_kcontrol_new snd_ice1712_multi_capture_spdif_volume __devinitd
1452 .count = 2, 1452 .count = 2,
1453}; 1453};
1454 1454
1455static int __devinit snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice) 1455static int snd_ice1712_build_pro_mixer(struct snd_ice1712 *ice)
1456{ 1456{
1457 struct snd_card *card = ice->card; 1457 struct snd_card *card = ice->card;
1458 unsigned int idx; 1458 unsigned int idx;
@@ -1511,7 +1511,7 @@ static void snd_ice1712_mixer_free_ac97(struct snd_ac97 *ac97)
1511 ice->ac97 = NULL; 1511 ice->ac97 = NULL;
1512} 1512}
1513 1513
1514static int __devinit snd_ice1712_ac97_mixer(struct snd_ice1712 *ice) 1514static int snd_ice1712_ac97_mixer(struct snd_ice1712 *ice)
1515{ 1515{
1516 int err, bus_num = 0; 1516 int err, bus_num = 0;
1517 struct snd_ac97_template ac97; 1517 struct snd_ac97_template ac97;
@@ -1610,7 +1610,7 @@ static void snd_ice1712_proc_read(struct snd_info_entry *entry,
1610 snd_iprintf(buffer, " GPIO_DIRECTION : 0x%02x\n", (unsigned)snd_ice1712_read(ice, ICE1712_IREG_GPIO_DIRECTION)); 1610 snd_iprintf(buffer, " GPIO_DIRECTION : 0x%02x\n", (unsigned)snd_ice1712_read(ice, ICE1712_IREG_GPIO_DIRECTION));
1611} 1611}
1612 1612
1613static void __devinit snd_ice1712_proc_init(struct snd_ice1712 *ice) 1613static void snd_ice1712_proc_init(struct snd_ice1712 *ice)
1614{ 1614{
1615 struct snd_info_entry *entry; 1615 struct snd_info_entry *entry;
1616 1616
@@ -1639,7 +1639,7 @@ static int snd_ice1712_eeprom_get(struct snd_kcontrol *kcontrol,
1639 return 0; 1639 return 0;
1640} 1640}
1641 1641
1642static struct snd_kcontrol_new snd_ice1712_eeprom __devinitdata = { 1642static struct snd_kcontrol_new snd_ice1712_eeprom = {
1643 .iface = SNDRV_CTL_ELEM_IFACE_CARD, 1643 .iface = SNDRV_CTL_ELEM_IFACE_CARD,
1644 .name = "ICE1712 EEPROM", 1644 .name = "ICE1712 EEPROM",
1645 .access = SNDRV_CTL_ELEM_ACCESS_READ, 1645 .access = SNDRV_CTL_ELEM_ACCESS_READ,
@@ -1675,7 +1675,7 @@ static int snd_ice1712_spdif_default_put(struct snd_kcontrol *kcontrol,
1675 return 0; 1675 return 0;
1676} 1676}
1677 1677
1678static struct snd_kcontrol_new snd_ice1712_spdif_default __devinitdata = 1678static struct snd_kcontrol_new snd_ice1712_spdif_default =
1679{ 1679{
1680 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 1680 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
1681 .name = SNDRV_CTL_NAME_IEC958("", PLAYBACK, DEFAULT), 1681 .name = SNDRV_CTL_NAME_IEC958("", PLAYBACK, DEFAULT),
@@ -1726,7 +1726,7 @@ static int snd_ice1712_spdif_maskp_get(struct snd_kcontrol *kcontrol,
1726 return 0; 1726 return 0;
1727} 1727}
1728 1728
1729static struct snd_kcontrol_new snd_ice1712_spdif_maskc __devinitdata = 1729static struct snd_kcontrol_new snd_ice1712_spdif_maskc =
1730{ 1730{
1731 .access = SNDRV_CTL_ELEM_ACCESS_READ, 1731 .access = SNDRV_CTL_ELEM_ACCESS_READ,
1732 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 1732 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
@@ -1735,7 +1735,7 @@ static struct snd_kcontrol_new snd_ice1712_spdif_maskc __devinitdata =
1735 .get = snd_ice1712_spdif_maskc_get, 1735 .get = snd_ice1712_spdif_maskc_get,
1736}; 1736};
1737 1737
1738static struct snd_kcontrol_new snd_ice1712_spdif_maskp __devinitdata = 1738static struct snd_kcontrol_new snd_ice1712_spdif_maskp =
1739{ 1739{
1740 .access = SNDRV_CTL_ELEM_ACCESS_READ, 1740 .access = SNDRV_CTL_ELEM_ACCESS_READ,
1741 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 1741 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
@@ -1762,7 +1762,7 @@ static int snd_ice1712_spdif_stream_put(struct snd_kcontrol *kcontrol,
1762 return 0; 1762 return 0;
1763} 1763}
1764 1764
1765static struct snd_kcontrol_new snd_ice1712_spdif_stream __devinitdata = 1765static struct snd_kcontrol_new snd_ice1712_spdif_stream =
1766{ 1766{
1767 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE | 1767 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
1768 SNDRV_CTL_ELEM_ACCESS_INACTIVE), 1768 SNDRV_CTL_ELEM_ACCESS_INACTIVE),
@@ -1893,7 +1893,7 @@ static int snd_ice1712_pro_internal_clock_put(struct snd_kcontrol *kcontrol,
1893 return change; 1893 return change;
1894} 1894}
1895 1895
1896static struct snd_kcontrol_new snd_ice1712_pro_internal_clock __devinitdata = { 1896static struct snd_kcontrol_new snd_ice1712_pro_internal_clock = {
1897 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1897 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1898 .name = "Multi Track Internal Clock", 1898 .name = "Multi Track Internal Clock",
1899 .info = snd_ice1712_pro_internal_clock_info, 1899 .info = snd_ice1712_pro_internal_clock_info,
@@ -1964,7 +1964,7 @@ static int snd_ice1712_pro_internal_clock_default_put(struct snd_kcontrol *kcont
1964 return change; 1964 return change;
1965} 1965}
1966 1966
1967static struct snd_kcontrol_new snd_ice1712_pro_internal_clock_default __devinitdata = { 1967static struct snd_kcontrol_new snd_ice1712_pro_internal_clock_default = {
1968 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1968 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1969 .name = "Multi Track Internal Clock Default", 1969 .name = "Multi Track Internal Clock Default",
1970 .info = snd_ice1712_pro_internal_clock_default_info, 1970 .info = snd_ice1712_pro_internal_clock_default_info,
@@ -1995,7 +1995,7 @@ static int snd_ice1712_pro_rate_locking_put(struct snd_kcontrol *kcontrol,
1995 return change; 1995 return change;
1996} 1996}
1997 1997
1998static struct snd_kcontrol_new snd_ice1712_pro_rate_locking __devinitdata = { 1998static struct snd_kcontrol_new snd_ice1712_pro_rate_locking = {
1999 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1999 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
2000 .name = "Multi Track Rate Locking", 2000 .name = "Multi Track Rate Locking",
2001 .info = snd_ice1712_pro_rate_locking_info, 2001 .info = snd_ice1712_pro_rate_locking_info,
@@ -2026,7 +2026,7 @@ static int snd_ice1712_pro_rate_reset_put(struct snd_kcontrol *kcontrol,
2026 return change; 2026 return change;
2027} 2027}
2028 2028
2029static struct snd_kcontrol_new snd_ice1712_pro_rate_reset __devinitdata = { 2029static struct snd_kcontrol_new snd_ice1712_pro_rate_reset = {
2030 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 2030 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
2031 .name = "Multi Track Rate Reset", 2031 .name = "Multi Track Rate Reset",
2032 .info = snd_ice1712_pro_rate_reset_info, 2032 .info = snd_ice1712_pro_rate_reset_info,
@@ -2193,7 +2193,7 @@ static int snd_ice1712_pro_route_spdif_put(struct snd_kcontrol *kcontrol,
2193 return change; 2193 return change;
2194} 2194}
2195 2195
2196static struct snd_kcontrol_new snd_ice1712_mixer_pro_analog_route __devinitdata = { 2196static struct snd_kcontrol_new snd_ice1712_mixer_pro_analog_route = {
2197 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 2197 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
2198 .name = "H/W Playback Route", 2198 .name = "H/W Playback Route",
2199 .info = snd_ice1712_pro_route_info, 2199 .info = snd_ice1712_pro_route_info,
@@ -2201,7 +2201,7 @@ static struct snd_kcontrol_new snd_ice1712_mixer_pro_analog_route __devinitdata
2201 .put = snd_ice1712_pro_route_analog_put, 2201 .put = snd_ice1712_pro_route_analog_put,
2202}; 2202};
2203 2203
2204static struct snd_kcontrol_new snd_ice1712_mixer_pro_spdif_route __devinitdata = { 2204static struct snd_kcontrol_new snd_ice1712_mixer_pro_spdif_route = {
2205 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 2205 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
2206 .name = SNDRV_CTL_NAME_IEC958("", PLAYBACK, NONE) "Route", 2206 .name = SNDRV_CTL_NAME_IEC958("", PLAYBACK, NONE) "Route",
2207 .info = snd_ice1712_pro_route_info, 2207 .info = snd_ice1712_pro_route_info,
@@ -2243,7 +2243,7 @@ static int snd_ice1712_pro_volume_rate_put(struct snd_kcontrol *kcontrol,
2243 return change; 2243 return change;
2244} 2244}
2245 2245
2246static struct snd_kcontrol_new snd_ice1712_mixer_pro_volume_rate __devinitdata = { 2246static struct snd_kcontrol_new snd_ice1712_mixer_pro_volume_rate = {
2247 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 2247 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
2248 .name = "Multi Track Volume Rate", 2248 .name = "Multi Track Volume Rate",
2249 .info = snd_ice1712_pro_volume_rate_info, 2249 .info = snd_ice1712_pro_volume_rate_info,
@@ -2276,7 +2276,7 @@ static int snd_ice1712_pro_peak_get(struct snd_kcontrol *kcontrol,
2276 return 0; 2276 return 0;
2277} 2277}
2278 2278
2279static struct snd_kcontrol_new snd_ice1712_mixer_pro_peak __devinitdata = { 2279static struct snd_kcontrol_new snd_ice1712_mixer_pro_peak = {
2280 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 2280 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
2281 .name = "Multi Track Peak", 2281 .name = "Multi Track Peak",
2282 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE, 2282 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
@@ -2291,16 +2291,16 @@ static struct snd_kcontrol_new snd_ice1712_mixer_pro_peak __devinitdata = {
2291/* 2291/*
2292 * list of available boards 2292 * list of available boards
2293 */ 2293 */
2294static struct snd_ice1712_card_info *card_tables[] __devinitdata = { 2294static struct snd_ice1712_card_info *card_tables[] = {
2295 snd_ice1712_hoontech_cards, 2295 snd_ice1712_hoontech_cards,
2296 snd_ice1712_delta_cards, 2296 snd_ice1712_delta_cards,
2297 snd_ice1712_ews_cards, 2297 snd_ice1712_ews_cards,
2298 NULL, 2298 NULL,
2299}; 2299};
2300 2300
2301static unsigned char __devinit snd_ice1712_read_i2c(struct snd_ice1712 *ice, 2301static unsigned char snd_ice1712_read_i2c(struct snd_ice1712 *ice,
2302 unsigned char dev, 2302 unsigned char dev,
2303 unsigned char addr) 2303 unsigned char addr)
2304{ 2304{
2305 long t = 0x10000; 2305 long t = 0x10000;
2306 2306
@@ -2310,8 +2310,8 @@ static unsigned char __devinit snd_ice1712_read_i2c(struct snd_ice1712 *ice,
2310 return inb(ICEREG(ice, I2C_DATA)); 2310 return inb(ICEREG(ice, I2C_DATA));
2311} 2311}
2312 2312
2313static int __devinit snd_ice1712_read_eeprom(struct snd_ice1712 *ice, 2313static int snd_ice1712_read_eeprom(struct snd_ice1712 *ice,
2314 const char *modelname) 2314 const char *modelname)
2315{ 2315{
2316 int dev = 0xa0; /* EEPROM device address */ 2316 int dev = 0xa0; /* EEPROM device address */
2317 unsigned int i, size; 2317 unsigned int i, size;
@@ -2385,7 +2385,7 @@ static int __devinit snd_ice1712_read_eeprom(struct snd_ice1712 *ice,
2385 2385
2386 2386
2387 2387
2388static int __devinit snd_ice1712_chip_init(struct snd_ice1712 *ice) 2388static int snd_ice1712_chip_init(struct snd_ice1712 *ice)
2389{ 2389{
2390 outb(ICE1712_RESET | ICE1712_NATIVE, ICEREG(ice, CONTROL)); 2390 outb(ICE1712_RESET | ICE1712_NATIVE, ICEREG(ice, CONTROL));
2391 udelay(200); 2391 udelay(200);
@@ -2432,7 +2432,7 @@ static int __devinit snd_ice1712_chip_init(struct snd_ice1712 *ice)
2432 return 0; 2432 return 0;
2433} 2433}
2434 2434
2435int __devinit snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice) 2435int snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice)
2436{ 2436{
2437 int err; 2437 int err;
2438 struct snd_kcontrol *kctl; 2438 struct snd_kcontrol *kctl;
@@ -2460,7 +2460,7 @@ int __devinit snd_ice1712_spdif_build_controls(struct snd_ice1712 *ice)
2460} 2460}
2461 2461
2462 2462
2463static int __devinit snd_ice1712_build_controls(struct snd_ice1712 *ice) 2463static int snd_ice1712_build_controls(struct snd_ice1712 *ice)
2464{ 2464{
2465 int err; 2465 int err;
2466 2466
@@ -2530,13 +2530,13 @@ static int snd_ice1712_dev_free(struct snd_device *device)
2530 return snd_ice1712_free(ice); 2530 return snd_ice1712_free(ice);
2531} 2531}
2532 2532
2533static int __devinit snd_ice1712_create(struct snd_card *card, 2533static int snd_ice1712_create(struct snd_card *card,
2534 struct pci_dev *pci, 2534 struct pci_dev *pci,
2535 const char *modelname, 2535 const char *modelname,
2536 int omni, 2536 int omni,
2537 int cs8427_timeout, 2537 int cs8427_timeout,
2538 int dxr_enable, 2538 int dxr_enable,
2539 struct snd_ice1712 **r_ice1712) 2539 struct snd_ice1712 **r_ice1712)
2540{ 2540{
2541 struct snd_ice1712 *ice; 2541 struct snd_ice1712 *ice;
2542 int err; 2542 int err;
@@ -2650,10 +2650,10 @@ static int __devinit snd_ice1712_create(struct snd_card *card,
2650 * 2650 *
2651 */ 2651 */
2652 2652
2653static struct snd_ice1712_card_info no_matched __devinitdata; 2653static struct snd_ice1712_card_info no_matched;
2654 2654
2655static int __devinit snd_ice1712_probe(struct pci_dev *pci, 2655static int snd_ice1712_probe(struct pci_dev *pci,
2656 const struct pci_device_id *pci_id) 2656 const struct pci_device_id *pci_id)
2657{ 2657{
2658 static int dev; 2658 static int dev;
2659 struct snd_card *card; 2659 struct snd_card *card;
@@ -2797,7 +2797,7 @@ static int __devinit snd_ice1712_probe(struct pci_dev *pci,
2797 return 0; 2797 return 0;
2798} 2798}
2799 2799
2800static void __devexit snd_ice1712_remove(struct pci_dev *pci) 2800static void snd_ice1712_remove(struct pci_dev *pci)
2801{ 2801{
2802 struct snd_card *card = pci_get_drvdata(pci); 2802 struct snd_card *card = pci_get_drvdata(pci);
2803 struct snd_ice1712 *ice = card->private_data; 2803 struct snd_ice1712 *ice = card->private_data;
@@ -2812,7 +2812,7 @@ static struct pci_driver ice1712_driver = {
2812 .name = KBUILD_MODNAME, 2812 .name = KBUILD_MODNAME,
2813 .id_table = snd_ice1712_ids, 2813 .id_table = snd_ice1712_ids,
2814 .probe = snd_ice1712_probe, 2814 .probe = snd_ice1712_probe,
2815 .remove = __devexit_p(snd_ice1712_remove), 2815 .remove = snd_ice1712_remove,
2816}; 2816};
2817 2817
2818module_pci_driver(ice1712_driver); 2818module_pci_driver(ice1712_driver);