Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278698
b: refs/heads/master
c: ce2a217
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi authored and Luciano Coelho committed Oct 11, 2011
1 parent 06c809d commit 69a3b78
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0969d6793f4899a4c5f56443d50f272068b97142
refs/heads/master: ce2a217c8268906640ebf7291d7a06210a35dd2f
39 changes: 39 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5200,6 +5200,45 @@ int wl1271_free_hw(struct wl1271 *wl)
}
EXPORT_SYMBOL_GPL(wl1271_free_hw);

static int __devinit wl12xx_probe(struct platform_device *pdev)
{
return 0;
}

static int __devexit wl12xx_remove(struct platform_device *pdev)
{
return 0;
}

static const struct platform_device_id wl12xx_id_table[] __devinitconst = {
{ "wl12xx-sdio", 0 },
{ "wl12xx-spi", 0 },
{ } /* Terminating Entry */
};
MODULE_DEVICE_TABLE(platform, wl12xx_id_table);

static struct platform_driver wl12xx_driver = {
.probe = wl12xx_probe,
.remove = __devexit_p(wl12xx_remove),
.id_table = wl12xx_id_table,
.driver = {
.name = "wl12xx",
.owner = THIS_MODULE,
}
};

static int __init wl12xx_init(void)
{
return platform_driver_register(&wl12xx_driver);
}
module_init(wl12xx_init);

static void __exit wl12xx_exit(void)
{
platform_driver_unregister(&wl12xx_driver);
}
module_exit(wl12xx_exit);

u32 wl12xx_debug_level = DEBUG_NONE;
EXPORT_SYMBOL_GPL(wl12xx_debug_level);
module_param_named(debug_level, wl12xx_debug_level, uint, S_IRUSR | S_IWUSR);
Expand Down

0 comments on commit 69a3b78

Please sign in to comment.