We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc8480 commit b191816Copy full SHA for b191816
sound/soc/codecs/cs35l41.c
@@ -1148,6 +1148,7 @@ static int cs35l41_dsp_init(struct cs35l41_private *cs35l41)
1148
return ret;
1149
}
1150
1151
+#ifdef CONFIG_ACPI
1152
static int cs35l41_acpi_get_name(struct cs35l41_private *cs35l41)
1153
{
1154
struct acpi_device *adev = ACPI_COMPANION(cs35l41->dev);
@@ -1180,6 +1181,12 @@ static int cs35l41_acpi_get_name(struct cs35l41_private *cs35l41)
1180
1181
1182
return 0;
1183
1184
+#else
1185
+static int cs35l41_acpi_get_name(struct cs35l41_private *cs35l41)
1186
+{
1187
+ return 0;
1188
+}
1189
+#endif /* CONFIG_ACPI */
1190
1191
int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg)
1192
0 commit comments