diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:40:35 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:40:35 -0500 |
commit | 48c8b0eb6d8265e639a800a9b62d704812e191d8 (patch) | |
tree | d186bd1297b705f16743cc0293c7797429ce9ea6 /sound/pci | |
parent | 14c56706f9d90d00573b7509b20c49ba56ea7eb1 (diff) |
ALSA: hda - Remove superfluous DELAYED_INIT*_MARK
Since __devinit* have been removed completely, DELAYED_INIT*_MARK in
hda_intel.c became NOP. Let's rip them off.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 335685e0e4ea..a9cd18b3db7c 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -603,15 +603,7 @@ enum { | |||
603 | #define use_vga_switcheroo(chip) 0 | 603 | #define use_vga_switcheroo(chip) 0 |
604 | #endif | 604 | #endif |
605 | 605 | ||
606 | #if defined(SUPPORT_VGA_SWITCHEROO) || defined(CONFIG_SND_HDA_PATCH_LOADER) | 606 | static char *driver_short_names[] = { |
607 | #define DELAYED_INIT_MARK | ||
608 | #define DELAYED_INITDATA_MARK | ||
609 | #else | ||
610 | #define DELAYED_INIT_MARK | ||
611 | #define DELAYED_INITDATA_MARK | ||
612 | #endif | ||
613 | |||
614 | static char *driver_short_names[] DELAYED_INITDATA_MARK = { | ||
615 | [AZX_DRIVER_ICH] = "HDA Intel", | 607 | [AZX_DRIVER_ICH] = "HDA Intel", |
616 | [AZX_DRIVER_PCH] = "HDA Intel PCH", | 608 | [AZX_DRIVER_PCH] = "HDA Intel PCH", |
617 | [AZX_DRIVER_SCH] = "HDA Intel MID", | 609 | [AZX_DRIVER_SCH] = "HDA Intel MID", |
@@ -1624,12 +1616,12 @@ static int get_jackpoll_interval(struct azx *chip) | |||
1624 | */ | 1616 | */ |
1625 | 1617 | ||
1626 | /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */ | 1618 | /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */ |
1627 | static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] DELAYED_INITDATA_MARK = { | 1619 | static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] = { |
1628 | [AZX_DRIVER_NVIDIA] = 8, | 1620 | [AZX_DRIVER_NVIDIA] = 8, |
1629 | [AZX_DRIVER_TERA] = 1, | 1621 | [AZX_DRIVER_TERA] = 1, |
1630 | }; | 1622 | }; |
1631 | 1623 | ||
1632 | static int DELAYED_INIT_MARK azx_codec_create(struct azx *chip, const char *model) | 1624 | static int azx_codec_create(struct azx *chip, const char *model) |
1633 | { | 1625 | { |
1634 | struct hda_bus_template bus_temp; | 1626 | struct hda_bus_template bus_temp; |
1635 | int c, codecs, err; | 1627 | int c, codecs, err; |
@@ -2736,8 +2728,8 @@ static void azx_notifier_unregister(struct azx *chip) | |||
2736 | unregister_reboot_notifier(&chip->reboot_notifier); | 2728 | unregister_reboot_notifier(&chip->reboot_notifier); |
2737 | } | 2729 | } |
2738 | 2730 | ||
2739 | static int DELAYED_INIT_MARK azx_first_init(struct azx *chip); | 2731 | static int azx_first_init(struct azx *chip); |
2740 | static int DELAYED_INIT_MARK azx_probe_continue(struct azx *chip); | 2732 | static int azx_probe_continue(struct azx *chip); |
2741 | 2733 | ||
2742 | #ifdef SUPPORT_VGA_SWITCHEROO | 2734 | #ifdef SUPPORT_VGA_SWITCHEROO |
2743 | static struct pci_dev *get_bound_vga(struct pci_dev *pci); | 2735 | static struct pci_dev *get_bound_vga(struct pci_dev *pci); |
@@ -3204,7 +3196,7 @@ static int azx_create(struct snd_card *card, struct pci_dev *pci, | |||
3204 | return 0; | 3196 | return 0; |
3205 | } | 3197 | } |
3206 | 3198 | ||
3207 | static int DELAYED_INIT_MARK azx_first_init(struct azx *chip) | 3199 | static int azx_first_init(struct azx *chip) |
3208 | { | 3200 | { |
3209 | int dev = chip->dev_index; | 3201 | int dev = chip->dev_index; |
3210 | struct pci_dev *pci = chip->pci; | 3202 | struct pci_dev *pci = chip->pci; |
@@ -3494,7 +3486,7 @@ out_free: | |||
3494 | return err; | 3486 | return err; |
3495 | } | 3487 | } |
3496 | 3488 | ||
3497 | static int DELAYED_INIT_MARK azx_probe_continue(struct azx *chip) | 3489 | static int azx_probe_continue(struct azx *chip) |
3498 | { | 3490 | { |
3499 | int dev = chip->dev_index; | 3491 | int dev = chip->dev_index; |
3500 | int err; | 3492 | int err; |