From patchwork Wed Jan 14 05:59:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Welte X-Patchwork-Id: 2275 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0E5u7rP013738 for ; Tue, 13 Jan 2009 21:56:08 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754152AbZANGAL (ORCPT ); Wed, 14 Jan 2009 01:00:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754193AbZANGAL (ORCPT ); Wed, 14 Jan 2009 01:00:11 -0500 Received: from ganesha.gnumonks.org ([213.95.27.120]:42375 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754152AbZANGAK (ORCPT ); Wed, 14 Jan 2009 01:00:10 -0500 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.63) (envelope-from ) id 1LMynQ-0003AG-Kf; Wed, 14 Jan 2009 07:00:08 +0100 Received: from laforge by prithivi.gnumonks.org with local (Exim 4.69) (envelope-from ) id 1LMyn8-0002HH-JD; Wed, 14 Jan 2009 13:59:50 +0800 Date: Wed, 14 Jan 2009 13:59:50 +0800 From: Harald Welte To: linux-acpi@vger.kernel.org Cc: lenb@kernel.org Subject: [PATCH] [ACPI] Fix autoloading of panasonic-laptop Message-ID: <20090114055950.GL4791@prithivi.gnumonks.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org This patch adds MODULE_DEVICE_TABLE() to panasonic-laptop.c in order to ensure automatic loading of the module on systems with the respective "MAT*" ACPI devices. Signed-off-by: Martin Lucina Signed-off-by: Harald Welte --- drivers/platform/x86/panasonic-laptop.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c index f30db36..54aa8c9 100644 --- a/drivers/platform/x86/panasonic-laptop.c +++ b/drivers/platform/x86/panasonic-laptop.c @@ -184,6 +184,7 @@ static const struct acpi_device_id pcc_device_ids[] = { { "MAT0019", 0}, { "", 0}, }; +MODULE_DEVICE_TABLE(acpi, pcc_device_ids); static struct acpi_driver acpi_pcc_driver = { .name = ACPI_PCC_DRIVER_NAME,