Skip to content

Commit

Permalink
sound: oss: remove __dev* attributes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wfp5p authored and tiwai committed Dec 7, 2012
1 parent 05bcf50 commit 9921041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sound/oss/ad1848.c
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,7 @@ static struct {
{NULL}
};

static struct isapnp_device_id id_table[] __devinitdata = {
static struct isapnp_device_id id_table[] = {
{ ISAPNP_VENDOR('C','M','I'), ISAPNP_DEVICE(0x0001),
ISAPNP_VENDOR('@','@','@'), ISAPNP_FUNCTION(0x0001), 0 },
{ ISAPNP_ANY_ID, ISAPNP_ANY_ID,
Expand Down
10 changes: 5 additions & 5 deletions sound/oss/kahlua.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* not real hardware.
*/

static u8 __devinit mixer_read(unsigned long io, u8 reg)
static u8 mixer_read(unsigned long io, u8 reg)
{
outb(reg, io + 4);
udelay(20);
Expand All @@ -52,7 +52,7 @@ static u8 __devinit mixer_read(unsigned long io, u8 reg)
return reg;
}

static int __devinit probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
static int probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
{
struct address_info *hw_config;
unsigned long base;
Expand Down Expand Up @@ -183,7 +183,7 @@ static int __devinit probe_one(struct pci_dev *pdev, const struct pci_device_id
return 1;
}

static void __devexit remove_one(struct pci_dev *pdev)
static void remove_one(struct pci_dev *pdev)
{
struct address_info *hw_config = pci_get_drvdata(pdev);
sb_dsp_unload(hw_config, 0);
Expand All @@ -210,7 +210,7 @@ static struct pci_driver kahlua_driver = {
.name = "kahlua",
.id_table = id_tbl,
.probe = probe_one,
.remove = __devexit_p(remove_one),
.remove = remove_one,
};


Expand All @@ -220,7 +220,7 @@ static int __init kahlua_init_module(void)
return pci_register_driver(&kahlua_driver);
}

static void __devexit kahlua_cleanup_module(void)
static void kahlua_cleanup_module(void)
{
pci_unregister_driver(&kahlua_driver);
}
Expand Down

0 comments on commit 9921041

Please sign in to comment.