From patchwork Thu Nov 2 11:08:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 117784 Delivered-To: patch@linaro.org Received: by 10.80.245.45 with SMTP id t42csp1919728edm; Thu, 2 Nov 2017 04:09:55 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RWSFmYIW70SVGxrf7Afc/nph18QPFj5KRSAglIfrT7iSasuAuSKXK+2D9HxIkEMB+akG5P X-Received: by 10.84.240.6 with SMTP id y6mr2757341plk.78.1509620995806; Thu, 02 Nov 2017 04:09:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509620995; cv=none; d=google.com; s=arc-20160816; b=P8dCtFigHjtj4yZkj+3fqzrUfG5Gxxp2nZGB79n19DHAt0uagvOf9dqBGc6+YQOmw3 Cs4V7YRRkHWCqWr0VrgSnulbMLPT9mpH8g8+olwDN3rfxCHZaTBcvvIRAGNrX3JuGJYS 8SPbdmG+5NzEm2B4i4d/slilgi4N1T4kACwgjod+f2X0DwupfyRa6pECXCyq0UFSgRfL v4ojGt9iYxAfVFFibcBjPeXBK5OroJDAYEKRaBjbgbu2AiwLrlwqdbjIlL9huizf15qc KBz/4gvkkBLKCYKU3d62IRizV6upW0pouPUYNwBYe/nV+DYmI3i3t1jIwCu/cPnjdDbA I/rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=WCzz7YarBcaaPtePR9uBnbd5rbDIjN0OHR3AfKLlJLs=; b=UJ8RKDp9RGGeUJHf8FkCTB1yM4oRryM+5Z+KEXJ5sQb9qUgSJa6M4aV1n+79WhSfCA eTCpMvTdmeRQj+XwGSzHM47qJoZSGA4g5WVazM7+SffN7HPLvY2BMHA0M1SlG9n9lL91 WniUNRLRQ6nwrqVvmZp+LONRwHPMFG+/vywrFmUTrqh/zfgNR3TuyGEXbB7phmAIujgQ 6e2D5ub5OaRvKUmSkOcttxV3cNtegtYf1dJBNwXr4o7grJDE01ZsK1gmbInbA3KRnDBa HsOg7+++/9V775vfLPFxkUZoSVkRQBBEC0gXMTPyQP7GkMxcnFsgg1jsEQmbRFP3H0go aPJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si3352312pga.132.2017.11.02.04.09.55; Thu, 02 Nov 2017 04:09:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755875AbdKBLJw (ORCPT + 26 others); Thu, 2 Nov 2017 07:09:52 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:51698 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755842AbdKBLJt (ORCPT ); Thu, 2 Nov 2017 07:09:49 -0400 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0LhzVu-1dN51c0pSU-00nCIv; Thu, 02 Nov 2017 12:08:18 +0100 From: Arnd Bergmann To: Jie Yang , Mark Brown Cc: Arnd Bergmann , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Colin Ian King , Pierre-Louis Bossart , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: intel: include linux/module.h as needed Date: Thu, 2 Nov 2017 12:08:00 +0100 Message-Id: <20171102110815.2851021-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:N/dXLOAJs4VfSMba4ofQS4SQw5elkH97NDSazkDg32AOmLRVvfW +YnsWrprcwbs4XB0qEeP0oWFR0TycOyymmvdxJFgzK8g0wnQZUbHk1BJRz4XC97/pcl2o5l LDzCKhg2XOAZBWPNz5HDZx13bKsrkIO4alz7+OxvYwtF1Fs6VuHAsJErrEYyXdeKesqNs8P iImzsJUtc7OexNU2rLvjA== X-UI-Out-Filterresults: notjunk:1; V01:K0:8NTNBWF2E8c=:B5hpOQgT6b+81KL6/QB9za SRbpJVGRUzDqD2UXQF0EXXNdsQrvdmvNI4ZBLWykU6/nTC3iKzYiHYdj7UVJrdO8i+xlmgGB9 hGZvrRh+Qwsm4KIBoo9FRmh05Qk50Po0XPkdDFjamPijYPJ5lyKYEhKe9bfc5orODWQNMiUHg InuxIrTSPH6KVgfA0l+RilN78Lqc42kav/+OwKUp+x7ovtwwEPNBBV7nrTey2lduKN85j9P4i ZAq0OT1xcn5AIsSNn4MAMytcVyTubHK2Sk6tMvwAAQIKxJHTofdsZ4IYdpX0s3dUsqvrFtTY3 YYqLvS0Wi+V/5/9YnZbTQp5C/JwJ5q1MAMEbWGe1w69nOp4/fPoNUIHq8f3udQzlnBXSCu0nu /03T1FLVRPm7KyGqczzaEfzNq2tjfJ02oVlsOid+J5MoKv/dwN3SxcdznUuo4ztI6ROmorg6Q N7SBiESVJoOpJj2lKIdGIdQpTzmmH+mNND1FD+Jlf6W5jKLl8xO1FUZHnO0MQerKQ2FtlTLC0 bVVEXSmtSGfx8A8iudVpW3HfsduO/Ex6ckqUNxPLdrKj+awLTokdrTVWkP7jQErOr5gjQPfSl XEX0aR5djhogPt/3xvFFlJCTzH/NWSTZcGrYPAmvLi2vQeXrIS265sLV5n5efohdzEKuTGrUs I8FteSb0aS66O3ASF6ojYHap9k+zXLKE48nCSi4pRmi9I1jKuQN5s7qiUY5SumjYnlpY4Vjbt Ur+oI8W6krHqhTTB315+N4wZlUYnRYawtnhXSg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MODULE_DESCRIPTION() macro is only available when including the linux/module.h header. Apparently this is included indirectly from sst-firmware.c in some configurations, but not in others: sound/soc/intel/common/sst-firmware.c:1278:20: error: expected declaration specifiers or '...' before string constant MODULE_DESCRIPTION("Intel SST Firmware Loader"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/soc/intel/common/sst-firmware.c:1279:16: error: expected declaration specifiers or '...' before string constant This adds the missing include line. Fixes: a395bdd6b24b ("ASoC: intel: Fix sst-dsp dependency on dw stuff") Signed-off-by: Arnd Bergmann --- sound/soc/intel/common/sst-firmware.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c index 79a9fdf94d38..657afc02f1c4 100644 --- a/sound/soc/intel/common/sst-firmware.c +++ b/sound/soc/intel/common/sst-firmware.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include