Skip to content

Commit

Permalink
dmaengine: moxart-dma: Fix module autoload for OF platform driver
Browse files Browse the repository at this point in the history
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
luisbg authored and Vinod Koul committed Oct 1, 2015
1 parent 7522c24 commit 981ec2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/dma/moxart-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ static const struct of_device_id moxart_dma_match[] = {
{ .compatible = "moxa,moxart-dma" },
{ }
};
MODULE_DEVICE_TABLE(of, moxart_dma_match);

static struct platform_driver moxart_driver = {
.probe = moxart_probe,
Expand Down

0 comments on commit 981ec2b

Please sign in to comment.