Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2382773imm; Mon, 24 Sep 2018 03:30:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV634/8j0PnEbmedK8OqEvYCBiZyYVQw2wjkhcejRYmE7TvKJaSA6D7zlHvhUoTmPs1AjtGXH X-Received: by 2002:a63:f51:: with SMTP id 17-v6mr9029855pgp.100.1537785021430; Mon, 24 Sep 2018 03:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537785021; cv=none; d=google.com; s=arc-20160816; b=L91fuHMaoAIc0TRJfh5pyV5kqEO7twVsNxeFjziTpiTxlIIBogZzfsEDgGaIPw0Rh+ HBBg76AEGmfJLLRw3uSxsovChDS/PL2CSA0HXw2xHBJAXwbFOj6LosO13kGsgt8b1Elq qXxJcPtoO5EKJrQVJuKsQFEGOal6qHXe2wHQIRbxuYul6sG+edUkW7UwX8Tdsiwvbk8c RipDwziSuxNg/wJSEKI74vLssHmSwyzGmkHhDWB43QmH5ze99CsOcg9DnluQwtmPSEGn vnZgj97mDHZGN7CZ+wiMI0gtkgA9S/gENWIspfKz6Ej+V0IxwM1o8ULRfQ25+FjIqH1i fD2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=BHwiH3ofFUbE+oJgTBMa/PNnn7CvadYm6so0UpWmPdo=; b=IzLTJSrzHkcKUY5dUrnwvf4ToEncnVZhlH+KdaT0MlK03nKDLIMk2yuBvvyPoQeQ/i 3EAvXc6F+RL2rPJbFvrRON3sEdEOWnAFzKUza4BZOS9aD6Kixpa5U2nSslhaNNpvphZM VaVEoMZAYWc0vmA9OX9xg0puyfoURTnoPu75QokLFYccYkxxyM2V61rbvmgPTEgBG+i0 Veij3iyLGubmIHyoR+ctCqB/02+JuTLllLWQtOyNa45Ez7WxRYtNtPmUTV7uYztJgNeL 398WexhH9LPjesL9ahYuJeRof1Yo96OIhe9VzSwa51wpQe0wxzW8e4msW2ofHTEu0jAA Ea3A== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z73-v6si33024540pgd.471.2018.09.24.03.30.06; Mon, 24 Sep 2018 03:30:21 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728649AbeIXQaf (ORCPT + 99 others); Mon, 24 Sep 2018 12:30:35 -0400 Received: from mga03.intel.com ([134.134.136.65]:24891 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbeIXQae (ORCPT ); Mon, 24 Sep 2018 12:30:34 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2018 03:29:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,297,1534834800"; d="scan'208";a="76789899" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by orsmga006.jf.intel.com with ESMTP; 24 Sep 2018 03:29:02 -0700 From: Songjun Wu To: yixin.zhu@linux.intel.com, chuanhua.lei@linux.intel.com, hauke.mehrtens@intel.com Cc: Songjun Wu , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Jiri Slaby Subject: [PATCH 12/14] serial: lantiq: Replace lantiq_soc.h with lantiq.h Date: Mon, 24 Sep 2018 18:28:01 +0800 Message-Id: <20180924102803.30263-13-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180924102803.30263-1-songjun.wu@linux.intel.com> References: <20180924102803.30263-1-songjun.wu@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In this existing lantiq serial driver, lantiq_soc.h is defined in the arch directory, ./arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h ./arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h This driver need to be extended to support more platform, lantiq.h is added in include/linux/ to make it globally available and provide some wrapper code. Use lantiq.h to make the driver can find the correct header file. Signed-off-by: Songjun Wu --- drivers/tty/serial/lantiq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index c983694ba24d..ba0c70b16bda 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -25,8 +26,6 @@ #include #include -#include - #define PORT_LTQ_ASC 111 #define MAXPORTS 2 #define UART_DUMMY_UER_RX 1 -- 2.11.0