Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278706
b: refs/heads/master
c: ccb6200
h: refs/heads/master
v: v3
  • Loading branch information
Luciano Coelho committed Oct 11, 2011
1 parent 73ef234 commit d8390c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48309fd477ef867babb6819f67fe082c133a5fa9
refs/heads/master: ccb62000d5e92772b6d5c2acce2f56263886ed89
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5266,8 +5266,7 @@ static int __devexit wl12xx_remove(struct platform_device *pdev)
}

static const struct platform_device_id wl12xx_id_table[] __devinitconst = {
{ "wl12xx-sdio", 0 },
{ "wl12xx-spi", 0 },
{ "wl12xx", 0 },
{ } /* Terminating Entry */
};
MODULE_DEVICE_TABLE(platform, wl12xx_id_table);
Expand All @@ -5277,7 +5276,7 @@ static struct platform_driver wl12xx_driver = {
.remove = __devexit_p(wl12xx_remove),
.id_table = wl12xx_id_table,
.driver = {
.name = "wl12xx",
.name = "wl12xx_driver",
.owner = THIS_MODULE,
}
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static int __devinit wl1271_probe(struct sdio_func *func,
/* Tell PM core that we don't need the card to be powered now */
pm_runtime_put_noidle(&func->dev);

glue->core = platform_device_alloc("wl12xx-sdio", -1);
glue->core = platform_device_alloc("wl12xx", -1);
if (!glue->core) {
dev_err(glue->dev, "can't allocate platform_device");
ret = -ENOMEM;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/wl12xx/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static int __devinit wl1271_probe(struct spi_device *spi)
goto out_free_glue;
}

glue->core = platform_device_alloc("wl12xx-spi", -1);
glue->core = platform_device_alloc("wl12xx", -1);
if (!glue->core) {
dev_err(glue->dev, "can't allocate platform_device\n");
ret = -ENOMEM;
Expand Down

0 comments on commit d8390c8

Please sign in to comment.