Skip to content

Commit

Permalink
electra_cf: Add MODULE_DEVICE_TABLE()
Browse files Browse the repository at this point in the history
Add a module device table to electra_cf so that modules can be
auto-probed/loaded.

Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Olof Johansson committed May 27, 2008
1 parent 8962cad commit c433a1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pcmcia/electra_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ static struct of_device_id electra_cf_match[] = {
},
{},
};
MODULE_DEVICE_TABLE(of, electra_cf_match);

static struct of_platform_driver electra_cf_driver = {
.name = (char *)driver_name,
Expand Down

0 comments on commit c433a1b

Please sign in to comment.