> On Dec 30, 2018, at 7:59 AM, Kamil Rytarowski <[email protected]> wrote:
>
> On 30.12.2018 16:51, [email protected] wrote:
>> Thanks.
>>
>> I'm not sure if it is a sufficient explanation though, there's a
>> CFATTACH_DECL_NEW(pckbc_acpi, ...
>> but no
>> CFATTACH_DCEL_NEW(pckbc, ..
>>
>> Or does that work somehow?
>>
>
> During the kernel config process you will get ioconf.c that has inlined:
>
> static const struct cfiattrdata * const pckbc_attrs[] = {
> &pckbportcf_iattrdata, NULL };
> CFDRIVER_DECL(pckbc, DV_DULL, pckbc_attrs);
That's a cfdriver, not a cfattach.
-- thorpej