lkml.org 
[lkml]   [2014]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH (resend)] mailbox: Add Altera mailbox driver
From
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


\
 
 \ /
  Last update: 2014-12-18 03:41    [W:0.070 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site