ALSA: pci: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -549,7 +549,7 @@ static const DECLARE_TLV_DB_SCALE(db_scale_volume, -6400, 50, 1);
|
||||
* mixers
|
||||
*/
|
||||
|
||||
static struct snd_kcontrol_new pontis_controls[] __devinitdata = {
|
||||
static struct snd_kcontrol_new pontis_controls[] = {
|
||||
{
|
||||
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
|
||||
.access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
|
||||
@@ -696,7 +696,7 @@ static void cs_proc_init(struct snd_ice1712 *ice)
|
||||
}
|
||||
|
||||
|
||||
static int __devinit pontis_add_controls(struct snd_ice1712 *ice)
|
||||
static int pontis_add_controls(struct snd_ice1712 *ice)
|
||||
{
|
||||
unsigned int i;
|
||||
int err;
|
||||
@@ -717,7 +717,7 @@ static int __devinit pontis_add_controls(struct snd_ice1712 *ice)
|
||||
/*
|
||||
* initialize the chip
|
||||
*/
|
||||
static int __devinit pontis_init(struct snd_ice1712 *ice)
|
||||
static int pontis_init(struct snd_ice1712 *ice)
|
||||
{
|
||||
static const unsigned short wm_inits[] = {
|
||||
/* These come first to reduce init pop noise */
|
||||
@@ -804,7 +804,7 @@ static int __devinit pontis_init(struct snd_ice1712 *ice)
|
||||
* hence the driver needs to sets up it properly.
|
||||
*/
|
||||
|
||||
static unsigned char pontis_eeprom[] __devinitdata = {
|
||||
static unsigned char pontis_eeprom[] = {
|
||||
[ICE_EEP2_SYSCONF] = 0x08, /* clock 256, mpu401, spdif-in/ADC, 1DAC */
|
||||
[ICE_EEP2_ACLINK] = 0x80, /* I2S */
|
||||
[ICE_EEP2_I2S] = 0xf8, /* vol, 96k, 24bit, 192k */
|
||||
@@ -821,7 +821,7 @@ static unsigned char pontis_eeprom[] __devinitdata = {
|
||||
};
|
||||
|
||||
/* entry point */
|
||||
struct snd_ice1712_card_info snd_vt1720_pontis_cards[] __devinitdata = {
|
||||
struct snd_ice1712_card_info snd_vt1720_pontis_cards[] = {
|
||||
{
|
||||
.subvendor = VT1720_SUBDEVICE_PONTIS_MS300,
|
||||
.name = "Pontis MS300",
|
||||
|
Reference in New Issue
Block a user