From patchwork Tue Mar 24 10:52:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6078131 Return-Path: X-Original-To: patchwork-linux-fbdev@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 BC4109F399 for ; Tue, 24 Mar 2015 10:52:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C05A8201F2 for ; Tue, 24 Mar 2015 10:52:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E76AE201C8 for ; Tue, 24 Mar 2015 10:52:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752464AbbCXKwg (ORCPT ); Tue, 24 Mar 2015 06:52:36 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:36479 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752258AbbCXKwd (ORCPT ); Tue, 24 Mar 2015 06:52:33 -0400 Received: by pdbcz9 with SMTP id cz9so217663781pdb.3; Tue, 24 Mar 2015 03:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=IAOgFj/PhyiPP+lTqKhLbLPdoOl8QgRxg0QIQxpxTDw=; b=hUZti+IE8wFM1HohEMzHxjVlaCOzo1ZXx1Cxaaeg2bbEVC6FoqQSlK3G65VUvGv7Qd pBdcwT8Y8a/jRZMXLndNwB9Gfdse0o5SZ2jrCExeoFZsMfBR2dom8M1NnWWuoYm+/7ow jLwyDChwrzQxXSsh01djL5UiXh8BGwR1JWyymiCKEWiB3mYRnBfBI6k/S44/uIf5o0sZ PiNznCqxPXfZGXSud/st+wwnk4kWeNQm+MAMr9DGl7BShS0CWr1bV2zCsRNo3emz5hhX qyluhNbs1vdfKbzmcLY3mbo2FlvgF5j+YXZO6FpyrEks/ROfpCXwgd2q0BSMhtaXknmF aa0Q== X-Received: by 10.68.176.65 with SMTP id cg1mr6406140pbc.47.1427194353383; Tue, 24 Mar 2015 03:52:33 -0700 (PDT) Received: from localhost.localdomain ([122.169.163.246]) by mx.google.com with ESMTPSA id fm3sm3742603pdb.73.2015.03.24.03.52.31 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Mar 2015 03:52:32 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH resend] staging: sm7xxfb: add MODULE_DEVICE_TABLE Date: Tue, 24 Mar 2015 16:22:24 +0530 Message-Id: <1427194344-4239-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 add MODULE_DEVICE_TABLE to support hot-plugging. Signed-off-by: Sudip Mukherjee --- resending as discussed with Greg K-H drivers/staging/sm7xxfb/sm7xxfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index abdb021..5b3e614 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -922,6 +922,8 @@ static const struct pci_device_id smtcfb_pci_table[] = { {0,} }; +MODULE_DEVICE_TABLE(pci, smtcfb_pci_table); + static void smtcfb_pci_remove(struct pci_dev *pdev) { struct smtcfb_info *sfb;