From patchwork Sun Mar 29 17:39:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 6117581 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 40B759F1BE for ; Sun, 29 Mar 2015 19:58:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60D6020254 for ; Sun, 29 Mar 2015 19:58:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id A6C9C2021B for ; Sun, 29 Mar 2015 19:58:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 06BCD6E28C; Sun, 29 Mar 2015 12:58:01 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 1573 seconds by postgrey-1.34 at gabe; Sun, 29 Mar 2015 11:06:44 PDT Received: from bitmer.com (bitmer.com [213.157.87.50]) by gabe.freedesktop.org (Postfix) with ESMTP id A63496E28B for ; Sun, 29 Mar 2015 11:06:44 -0700 (PDT) Received: from dsl-espbrasgw1-50de2d-164.dhcp.inet.fi ([80.222.45.164] helo=localhost.localdomain) by bitmer.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YcHCF-0004kH-HN; Sun, 29 Mar 2015 20:40:27 +0300 From: Jarkko Nikula To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/via: Add MODULE_DEVICE_TABLE Date: Sun, 29 Mar 2015 20:39:00 +0300 Message-Id: <1427650740-3438-1-git-send-email-jarkko.nikula@bitmer.com> X-Mailer: git-send-email 2.1.4 X-Mailman-Approved-At: Sun, 29 Mar 2015 12:57:59 -0700 Cc: Jarkko Nikula X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Via DRM driver does not get autoloaded due missing MODULE_DEVICE_TABLE when built as a module. Signed-off-by: Jarkko Nikula --- 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,