Received: by 10.223.185.116 with SMTP id b49csp6079566wrg; Thu, 8 Mar 2018 01:13:14 -0800 (PST) X-Google-Smtp-Source: AG47ELst6EUiUUbAybjPoqecGxzTxAf7OMvhg7oz6G5+zhHzUnRW/98bCx6FrZeO/vRHmVNRGZqt X-Received: by 10.98.211.198 with SMTP id z67mr26084907pfk.0.1520500394722; Thu, 08 Mar 2018 01:13:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520500394; cv=none; d=google.com; s=arc-20160816; b=xEqWR2ljzQdzJwrL4ofQhfrt1AInnNSghcnUr4ZiCkzj4aHEAxGcXumS8kvupf+aUY afaG9jBTWZlXTihYwNUbCtR98wotz2MAgZFHh2wfvE5q33TQ7sFmiZC4siahJuqbe7mN 5MsmlPS+pd4lSvDlCw8cz2nQR/Fq1/0pkHi0CnEqt40rHxQQx3Ut3LEDT2/MpjY97c5A L7oK5renxr6oaBeaG6g2R6HkDCjlQDoaxvtcIHekPY/3TYp9U/sGanpxWJT2aUijaxbv JmseO6z3Efotn6tILd9KWOxSQFkmx77KMOJMrkweI9ZztSZckdd6i/iEk9WLbmW0REWy eZ2Q== 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=fmhpAP2jcNn1ZaIR+ePO/y/dYAPNa/S2usca1JEH+tc=; b=Vyn7kFqv5jh+ZSjnH8d3rZ7Oks7hrm0fV8K7O5nDfm7otD1fVf/1IbjdtMNDY0yJjN OKxKau/hbinwrNiUEfvxmqnnclaM1+4fUdfRxScOiH+azWRSl0R5m0mgn7A7IiUMTTt7 AmDgrYURdPY/uvD/Nkxufw3Gzi6oF6GQu1XnfuiCXqYHbk4TIIQmiXsCbr0TrW+WEMHh FYNOw0u1lh44SvKbqv3nL6VKLOJZ1pT+BykdXGYaXrj95DkUWwbpmrGA/PM33mWHaxwE 6u4M1fqntCLPJ5d9tqMN2ILB7uBIReNAgEDjvd2SVJzyH1yEiDlS2U4Ygt3n0Z67+I/c UyXw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si15472002pfh.118.2018.03.08.01.12.59; Thu, 08 Mar 2018 01:13:14 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbeCHJKi (ORCPT + 99 others); Thu, 8 Mar 2018 04:10:38 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:46087 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755365AbeCHJKf (ORCPT ); Thu, 8 Mar 2018 04:10:35 -0500 Received: from [175.41.48.77] (helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1etrZD-0003jK-4s; Thu, 08 Mar 2018 09:10:27 +0000 From: Kai-Heng Feng To: mjg59@srcf.ucam.org, pali.rohar@gmail.com, dvhart@infradead.org, andy@infradead.org, mario.limonciello@dell.com, tiwai@suse.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Kai-Heng Feng Subject: [PATCH v2 1/3] dell-led: Change dell-led.h to dell-common.h Date: Thu, 8 Mar 2018 17:10:21 +0800 Message-Id: <20180308091023.9061-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This header will be used for more than just led. Change it to a more generic name. Signed-off-by: Kai-Heng Feng --- v2: Mario suggested to squash the HDA part into the same series. drivers/platform/x86/dell-laptop.c | 2 +- include/linux/{dell-led.h => dell-common.h} | 4 ++-- sound/pci/hda/dell_wmi_helper.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename include/linux/{dell-led.h => dell-common.h} (61%) diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index c52c6723374b..8ba820e6c3d0 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include "dell-rbtn.h" diff --git a/include/linux/dell-led.h b/include/linux/dell-common.h similarity index 61% rename from include/linux/dell-led.h rename to include/linux/dell-common.h index 92521471517f..37e4b614dd74 100644 --- a/include/linux/dell-led.h +++ b/include/linux/dell-common.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __DELL_LED_H__ -#define __DELL_LED_H__ +#ifndef __DELL_COMMON_H__ +#define __DELL_COMMON_H__ int dell_micmute_led_set(int on); diff --git a/sound/pci/hda/dell_wmi_helper.c b/sound/pci/hda/dell_wmi_helper.c index 1b48a8c19d28..56050cc3c0ee 100644 --- a/sound/pci/hda/dell_wmi_helper.c +++ b/sound/pci/hda/dell_wmi_helper.c @@ -4,7 +4,7 @@ */ #if IS_ENABLED(CONFIG_DELL_LAPTOP) -#include +#include enum { MICMUTE_LED_ON, -- 2.15.1