Message ID | 1366624770-6786-1-git-send-email-linus.walleij@stericsson.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c index 797940e..2855646 100644 --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c @@ -2758,11 +2758,16 @@ static int __exit coh901318_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id coh901318_dt_match[] = { + { .compatible = "stericsson,coh901318" }, + {}, +}; static struct platform_driver coh901318_driver = { .remove = __exit_p(coh901318_remove), .driver = { .name = "coh901318", + .of_match_table = coh901318_dt_match, }, };