[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFiDJ59FCE1JRHaSRmE06_VWETyONj55dCbFWehV4LoCi4ZLJg@mail.gmail.com>
Date: Thu, 18 Dec 2014 10:08:21 +0800
From: Ley Foon Tan <lftan@...era.com>
To: Dinh Nguyen <dinh.linux@...il.com>
Cc: Suman Anna <s-anna@...com>, Jassi Brar <jassisinghbrar@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
devicetree@...r.kernel.org
Subject: Re: [PATCH (resend)] mailbox: Add Altera mailbox driver
On Thu, Dec 18, 2014 at 1:17 AM, Dinh Nguyen <dinh.linux@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists