Messages in this thread | | | Date | Thu, 18 Dec 2014 10:08:21 +0800 | Subject | Re: [PATCH (resend)] mailbox: Add Altera mailbox driver | From | Ley Foon Tan <> |
| |
On Thu, Dec 18, 2014 at 1:17 AM, Dinh Nguyen <dinh.linux@gmail.com> wrote: >>>>> +MODULE_DEVICE_TABLE(of, altera_mbox_match); >>>>> + >>>>> +static struct platform_driver altera_mbox_driver = { >>>>> + .probe = altera_mbox_probe, >>>>> + .remove = altera_mbox_remove, >>>>> + .driver = { >>>>> + .name = DRIVER_NAME, >>>>> + .owner = THIS_MODULE, >>>>> + .of_match_table = altera_mbox_match, >>> >>> of_match_ptr(altera_mbox_match). >> Okay. > > This driver is DT-only, so of_match_ptr() is not needed. > Yes, this driver is DT-only. Okay, we don't need of_match_ptr.
Ley Foon
| |