From patchwork Sun Mar 8 14:37:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 5962081 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 746609F2A9 for ; Sun, 8 Mar 2015 14:42:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 47C05202FF for ; Sun, 8 Mar 2015 14:42:11 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 87B1120306 for ; Sun, 8 Mar 2015 14:42:09 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id DE7A02604FD; Sun, 8 Mar 2015 15:42:07 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D1C582604B8; Sun, 8 Mar 2015 15:41:34 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 89C95260455; Sun, 8 Mar 2015 15:41:32 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id 4C3B0260455 for ; Sun, 8 Mar 2015 15:41:26 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 08 Mar 2015 07:39:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,362,1422950400"; d="scan'208";a="464251098" Received: from vkoul-udesk3.iind.intel.com ([10.223.84.65]) by FMSMGA003.fm.intel.com with ESMTP; 08 Mar 2015 07:34:49 -0700 From: Vinod Koul To: alsa-devel@alsa-project.org Date: Sun, 8 Mar 2015 20:07:55 +0530 Message-Id: <1425825479-28780-2-git-send-email-vinod.koul@intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1425825479-28780-1-git-send-email-vinod.koul@intel.com> References: <1425825479-28780-1-git-send-email-vinod.koul@intel.com> Cc: tiwai@suse.de, Jeeja KP , Vinod Koul , lgirdwood@gmail.com Subject: [alsa-devel] [RFC 1/5] ALSA: hda: move hdaudio header files to global include X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jeeja KP The hd-audio headers are local to sound/pci/hda. Moving them out helps to use these headers in other places like the upcoming ASoC HDA code Signed-off-by: Jeeja KP Signed-off-by: Vinod Koul --- {sound/pci/hda => include/sound}/hda_auto_parser.h | 0 {sound/pci/hda => include/sound}/hda_beep.h | 0 {sound/pci/hda => include/sound}/hda_codec.h | 0 {sound/pci/hda => include/sound}/hda_controller.h | 0 {sound/pci/hda => include/sound}/hda_generic.h | 0 {sound/pci/hda => include/sound}/hda_jack.h | 0 {sound/pci/hda => include/sound}/hda_local.h | 0 {sound/pci/hda => include/sound}/hda_priv.h | 0 sound/pci/hda/hda_auto_parser.c | 6 +++--- sound/pci/hda/hda_beep.c | 4 ++-- sound/pci/hda/hda_codec.c | 8 ++++---- sound/pci/hda/hda_controller.c | 4 ++-- sound/pci/hda/hda_eld.c | 4 ++-- sound/pci/hda/hda_generic.c | 12 ++++++------ sound/pci/hda/hda_hwdep.c | 4 ++-- sound/pci/hda/hda_i915.c | 2 +- sound/pci/hda/hda_intel.c | 6 +++--- sound/pci/hda/hda_jack.c | 8 ++++---- sound/pci/hda/hda_proc.c | 4 ++-- sound/pci/hda/hda_sysfs.c | 4 ++-- 20 files changed, 33 insertions(+), 33 deletions(-) rename {sound/pci/hda => include/sound}/hda_auto_parser.h (100%) rename {sound/pci/hda => include/sound}/hda_beep.h (100%) rename {sound/pci/hda => include/sound}/hda_codec.h (100%) rename {sound/pci/hda => include/sound}/hda_controller.h (100%) rename {sound/pci/hda => include/sound}/hda_generic.h (100%) rename {sound/pci/hda => include/sound}/hda_jack.h (100%) rename {sound/pci/hda => include/sound}/hda_local.h (100%) rename {sound/pci/hda => include/sound}/hda_priv.h (100%) diff --git a/sound/pci/hda/hda_auto_parser.h b/include/sound/hda_auto_parser.h similarity index 100% rename from sound/pci/hda/hda_auto_parser.h rename to include/sound/hda_auto_parser.h diff --git a/sound/pci/hda/hda_beep.h b/include/sound/hda_beep.h similarity index 100% rename from sound/pci/hda/hda_beep.h rename to include/sound/hda_beep.h diff --git a/sound/pci/hda/hda_codec.h b/include/sound/hda_codec.h similarity index 100% rename from sound/pci/hda/hda_codec.h rename to include/sound/hda_codec.h diff --git a/sound/pci/hda/hda_controller.h b/include/sound/hda_controller.h similarity index 100% rename from sound/pci/hda/hda_controller.h rename to include/sound/hda_controller.h diff --git a/sound/pci/hda/hda_generic.h b/include/sound/hda_generic.h similarity index 100% rename from sound/pci/hda/hda_generic.h rename to include/sound/hda_generic.h diff --git a/sound/pci/hda/hda_jack.h b/include/sound/hda_jack.h similarity index 100% rename from sound/pci/hda/hda_jack.h rename to include/sound/hda_jack.h diff --git a/sound/pci/hda/hda_local.h b/include/sound/hda_local.h similarity index 100% rename from sound/pci/hda/hda_local.h rename to include/sound/hda_local.h diff --git a/sound/pci/hda/hda_priv.h b/include/sound/hda_priv.h similarity index 100% rename from sound/pci/hda/hda_priv.h rename to include/sound/hda_priv.h diff --git a/sound/pci/hda/hda_auto_parser.c b/sound/pci/hda/hda_auto_parser.c index 1ede82200ee5..e518a74b3d66 100644 --- a/sound/pci/hda/hda_auto_parser.c +++ b/sound/pci/hda/hda_auto_parser.c @@ -13,9 +13,9 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" -#include "hda_auto_parser.h" +#include +#include +#include /* * Helper for automatic pin configuration diff --git a/sound/pci/hda/hda_beep.c b/sound/pci/hda/hda_beep.c index 1e7de08e77cb..3ce849899bb5 100644 --- a/sound/pci/hda/hda_beep.c +++ b/sound/pci/hda/hda_beep.c @@ -24,8 +24,8 @@ #include #include #include -#include "hda_beep.h" -#include "hda_local.h" +#include +#include enum { DIGBEEP_HZ_STEP = 46875, /* 46.875 Hz */ diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 2fe86d2e1b09..5eb244a02b59 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -27,14 +27,14 @@ #include #include #include -#include "hda_codec.h" +#include #include #include #include #include -#include "hda_local.h" -#include "hda_beep.h" -#include "hda_jack.h" +#include +#include +#include #include #define CREATE_TRACE_POINTS diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 0cfc9c8c4b4e..5ae5fcb9b8a9 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -30,8 +30,8 @@ #include #include #include -#include "hda_priv.h" -#include "hda_controller.h" +#include +#include #define CREATE_TRACE_POINTS #include "hda_intel_trace.h" diff --git a/sound/pci/hda/hda_eld.c b/sound/pci/hda/hda_eld.c index 0e6d7534f491..f1b6493c65d9 100644 --- a/sound/pci/hda/hda_eld.c +++ b/sound/pci/hda/hda_eld.c @@ -26,8 +26,8 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" +#include +#include enum eld_versions { ELD_VER_CEA_861D = 2, diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index b680b4ec6331..bac07550f7be 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -32,12 +32,12 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" -#include "hda_auto_parser.h" -#include "hda_jack.h" -#include "hda_beep.h" -#include "hda_generic.h" +#include +#include +#include +#include +#include +#include /** diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index 014a7849e8fd..8b17ad1cbb1b 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -22,8 +22,8 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" +#include +#include #include #include diff --git a/sound/pci/hda/hda_i915.c b/sound/pci/hda/hda_i915.c index d4d0375ac181..ca15d465c8b0 100644 --- a/sound/pci/hda/hda_i915.c +++ b/sound/pci/hda/hda_i915.c @@ -20,7 +20,7 @@ #include #include #include -#include "hda_priv.h" +#include #include "hda_i915.h" /* Intel HSW/BDW display HDA controller Extended Mode registers. diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d426a0bd6a5f..70606016843b 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -60,9 +60,9 @@ #include #include #include -#include "hda_codec.h" -#include "hda_controller.h" -#include "hda_priv.h" +#include +#include +#include #include "hda_i915.h" /* position fix mode */ diff --git a/sound/pci/hda/hda_jack.c b/sound/pci/hda/hda_jack.c index e664307617bd..bcaee91e655e 100644 --- a/sound/pci/hda/hda_jack.c +++ b/sound/pci/hda/hda_jack.c @@ -15,10 +15,10 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" -#include "hda_auto_parser.h" -#include "hda_jack.h" +#include +#include +#include +#include /** * is_jack_detectable - Check whether the given pin is jack-detectable diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index ce5a6da83419..9c60c8cbe89d 100644 --- a/sound/pci/hda/hda_proc.c +++ b/sound/pci/hda/hda_proc.c @@ -25,8 +25,8 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" +#include +#include static int dump_coef = -1; module_param(dump_coef, int, 0644); diff --git a/sound/pci/hda/hda_sysfs.c b/sound/pci/hda/hda_sysfs.c index ccc962a1699f..b25001cc3f83 100644 --- a/sound/pci/hda/hda_sysfs.c +++ b/sound/pci/hda/hda_sysfs.c @@ -14,8 +14,8 @@ #include #include #include -#include "hda_codec.h" -#include "hda_local.h" +#include +#include #include #include