From patchwork Tue Mar 24 04:50:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6077111 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 B29479F318 for ; Tue, 24 Mar 2015 04:50:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E134720263 for ; Tue, 24 Mar 2015 04:50:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CE81320260 for ; Tue, 24 Mar 2015 04:50:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753477AbbCXEu0 (ORCPT ); Tue, 24 Mar 2015 00:50:26 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34658 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753456AbbCXEuW (ORCPT ); Tue, 24 Mar 2015 00:50:22 -0400 Received: by pacwe9 with SMTP id we9so213545869pac.1; Mon, 23 Mar 2015 21:50:22 -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:in-reply-to:references; bh=4eoyxolgqiBiIiXlS+pGR89PA4GYBJIqX8qGMBGocB4=; b=uIUr88Eg333BhtP6cS7IUKf5eul/LywUoQ2MJ8BeTWev5QALYe7vYSWfGFiMoLwtJ7 EGYKFevf3wZwe5zitT3e7/2qMpbodTufL0RpUkcynLqzqF0NieXNh6EZLEQGugKL99p2 LfYE+wFiBWd7nP/GaK2clUHZ3QOKvSYFDSyOe8bcD8nDDdAuk05QwdAnfZrv9SoyfEPe wx7oCd8NtbPSRiP/hbAY2KqAfLN+Fb4aufgiCuUtvO3phbwhTfssSahw6+0qCa2Kx1Dr FGRa455BNFgRNc+MmGCLr6Yc1agP0SDECCua083/e8xAQDYoaev2+K5gQBORu2Yberhs ZAOw== X-Received: by 10.70.36.48 with SMTP id n16mr4480217pdj.82.1427172621942; Mon, 23 Mar 2015 21:50:21 -0700 (PDT) Received: from localhost.localdomain ([122.169.163.246]) by mx.google.com with ESMTPSA id g10sm2665176pdm.29.2015.03.23.21.50.19 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Mar 2015 21:50:21 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: Sudip Mukherjee , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: sm7xxfb: add MODULE_DEVICE_TABLE Date: Tue, 24 Mar 2015 10:20:09 +0530 Message-Id: <1427172609-4318-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1427172609-4318-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1427172609-4318-1-git-send-email-sudipm.mukherjee@gmail.com> 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 --- 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 6e9b2aa..15509a6 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;