From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Subject: [PATCH] ACPI: add ACPI aliases to toshiba_acpi module Date: Sat, 23 Feb 2008 17:36:46 +0300 Message-ID: <200802231736.50346.arvidjaar@mail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3619050.yedp1jv414"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: toshiba_acpi@memebeam.org, linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Olivier Blin List-Id: linux-acpi@vger.kernel.org --nextPart3619050.yedp1jv414 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [PATCH] ACPI: add ACPI aliases to toshiba_acpi module =46rom: Andrey Borzenkov < arvidjaar@mail.ru> This adds aliases to enable autoloading of toishiba_acpi. Two aliases are defined - TOS6200 (for \\_SB_.VALD.GHCI) and TSO1900 (for \\_SB_.VALZ.GHCI). This allows toishiba_acpi to be autoloaded on systems that provide those devices. Signed-off-by: Andrey Borzenkov < arvidjaar@mail.ru> =2D-- TOS6200 case is tested by me. I do not have device with TOS1900 and gathere= d HID from searching available information on Iternet. drivers/acpi/toshiba_acpi.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/acpi/toshiba_acpi.c index 9e8c20c..0a43c8e 100644 =2D-- a/drivers/acpi/toshiba_acpi.c +++ b/drivers/acpi/toshiba_acpi.c @@ -99,6 +99,13 @@ MODULE_LICENSE("GPL"); #define HCI_VIDEO_OUT_CRT 0x2 #define HCI_VIDEO_OUT_TV 0x4 =20 +static const struct acpi_device_id toshiba_device_ids[] =3D { + {"TOS6200", 0}, + {"TOS1900", 0}, + {"", 0}, +}; +MODULE_DEVICE_TABLE(acpi, toshiba_device_ids); + /* utility */ =20 --nextPart3619050.yedp1jv414 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEABECAAYFAkfAL38ACgkQR6LMutpd94wQkACeP2h5Rj/3nYDBF4ldiMl5KqC6 pm4AnReJJVo61385tV+vXfKqJKKiFlTd =dq5S -----END PGP SIGNATURE----- --nextPart3619050.yedp1jv414--