Re: [PATCH v2 11/14] misc: rp1: RaspberryPi RP1 misc driver

From: Andrea della Porta
Date: Fri Oct 25 2024 - 04:28:59 EST


Hi Dave,

On 16:21 Thu 24 Oct , Dave Stevenson wrote:
> Hi Andrea
>
> On Mon, 7 Oct 2024 at 14:07, Andrea della Porta <andrea.porta@xxxxxxxx> wrote:
> >

...

> > +static const struct pci_device_id dev_id_table[] = {
> > + { PCI_DEVICE(PCI_VENDOR_ID_RPI, PCI_DEVICE_ID_RPI_RP1_C0), },
> > + { 0, }
> > +};
>
> You need a
>
> MODULE_DEVICE_TABLE(pci, dev_id_table);
>
> here in order to load the module for the cases where it isn't
> built-in. Otherwise you have to manually modprobe the module.

Sure, thanks for the heads up!

Regards,
Andrea

>
> Cheers.
> Dave

...