snow.c (a8a93c6f9922c0d70459668c1300b226cb3918ab) | snow.c (62e6a3b6f4e1f9b96fa66ab1cdf2ffd8594df9e9) |
---|---|
1/* 2 * ASoC machine driver for Snow boards 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * version 2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 96 unchanged lines hidden (view full) --- 105} 106 107static const struct of_device_id snow_of_match[] = { 108 { .compatible = "google,snow-audio-max98090", }, 109 { .compatible = "google,snow-audio-max98091", }, 110 { .compatible = "google,snow-audio-max98095", }, 111 {}, 112}; | 1/* 2 * ASoC machine driver for Snow boards 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * version 2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but --- 96 unchanged lines hidden (view full) --- 105} 106 107static const struct of_device_id snow_of_match[] = { 108 { .compatible = "google,snow-audio-max98090", }, 109 { .compatible = "google,snow-audio-max98091", }, 110 { .compatible = "google,snow-audio-max98095", }, 111 {}, 112}; |
113MODULE_DEVICE_TABLE(of, snow_of_match); |
|
113 114static struct platform_driver snow_driver = { 115 .driver = { 116 .name = "snow-audio", | 114 115static struct platform_driver snow_driver = { 116 .driver = { 117 .name = "snow-audio", |
118 .owner = THIS_MODULE, |
|
117 .pm = &snd_soc_pm_ops, 118 .of_match_table = snow_of_match, 119 }, 120 .probe = snow_probe, 121}; 122 123module_platform_driver(snow_driver); 124 125MODULE_DESCRIPTION("ALSA SoC Audio machine driver for Snow"); 126MODULE_LICENSE("GPL"); | 119 .pm = &snd_soc_pm_ops, 120 .of_match_table = snow_of_match, 121 }, 122 .probe = snow_probe, 123}; 124 125module_platform_driver(snow_driver); 126 127MODULE_DESCRIPTION("ALSA SoC Audio machine driver for Snow"); 128MODULE_LICENSE("GPL"); |