Message ID | 1427650740-3438-1-git-send-email-jarkko.nikula@bitmer.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 30 Mar 2015 5:58 am, "Jarkko Nikula" <jarkko.nikula@bitmer.com> wrote: > > Via DRM driver does not get autoloaded due missing MODULE_DEVICE_TABLE when > built as a module. > NAK, this isn't a kms driver, so the X server is required to load it when it needs it, Dave. > Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com> > --- > drivers/gpu/drm/via/via_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c > index ed8aa8ff861a..f654c6f9d97f 100644 > --- a/drivers/gpu/drm/via/via_drv.c > +++ b/drivers/gpu/drm/via/via_drv.c > @@ -56,6 +56,7 @@ static void via_driver_postclose(struct drm_device *dev, struct drm_file *file) > static struct pci_device_id pciidlist[] = { > viadrv_PCI_IDS > }; > +MODULE_DEVICE_TABLE(pci, pciidlist); > > static const struct file_operations via_driver_fops = { > .owner = THIS_MODULE, > -- > 2.1.4 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c index ed8aa8ff861a..f654c6f9d97f 100644 --- a/drivers/gpu/drm/via/via_drv.c +++ b/drivers/gpu/drm/via/via_drv.c @@ -56,6 +56,7 @@ static void via_driver_postclose(struct drm_device *dev, struct drm_file *file) static struct pci_device_id pciidlist[] = { viadrv_PCI_IDS }; +MODULE_DEVICE_TABLE(pci, pciidlist); static const struct file_operations via_driver_fops = { .owner = THIS_MODULE,
Via DRM driver does not get autoloaded due missing MODULE_DEVICE_TABLE when built as a module. Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com> --- drivers/gpu/drm/via/via_drv.c | 1 + 1 file changed, 1 insertion(+)