diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-05-11 15:05:29 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-05-12 10:53:22 +0100 |
commit | eaaa5328835d8085d24221a0e5ceaacbe14a7523 (patch) | |
tree | 21e5be55e98b33d562b84fad992938fa6ec47a69 /sound/soc/pxa/em-x270.c | |
parent | 31cb31f76e030ae05ed45f409ce5eb68ef2987f6 (diff) | |
download | linux-stable-eaaa5328835d8085d24221a0e5ceaacbe14a7523.tar.gz linux-stable-eaaa5328835d8085d24221a0e5ceaacbe14a7523.tar.bz2 linux-stable-eaaa5328835d8085d24221a0e5ceaacbe14a7523.zip |
ASoC: em-x270: make the driver support also eXeda and CM-X300 machines
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/em-x270.c')
-rw-r--r-- | sound/soc/pxa/em-x270.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sound/soc/pxa/em-x270.c b/sound/soc/pxa/em-x270.c index 949be9c2a01b..f4756e4025fd 100644 --- a/sound/soc/pxa/em-x270.c +++ b/sound/soc/pxa/em-x270.c @@ -1,7 +1,7 @@ /* - * em-x270.c -- SoC audio for EM-X270 + * SoC audio driver for EM-X270, eXeda and CM-X300 * - * Copyright 2007 CompuLab, Ltd. + * Copyright 2007, 2009 CompuLab, Ltd. * * Author: Mike Rapoport <mike@compulab.co.il> * @@ -68,7 +68,8 @@ static int __init em_x270_init(void) { int ret; - if (!machine_is_em_x270()) + if (!(machine_is_em_x270() || machine_is_exeda() + || machine_is_cm_x300())) return -ENODEV; em_x270_snd_device = platform_device_alloc("soc-audio", -1); @@ -95,5 +96,5 @@ module_exit(em_x270_exit); /* Module information */ MODULE_AUTHOR("Mike Rapoport"); -MODULE_DESCRIPTION("ALSA SoC EM-X270"); +MODULE_DESCRIPTION("ALSA SoC EM-X270, eXeda and CM-X300"); MODULE_LICENSE("GPL"); |