From patchwork Mon Dec 4 22:22:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120608 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp1434615edb; Mon, 4 Dec 2017 14:23:21 -0800 (PST) X-Google-Smtp-Source: AGs4zMZW36YiefgwthYpe9DQFVP2aQkJ1AkB5JADQ3a7O3Dpxy20GHxpZtMTIIktm8vlv5IVTi2q X-Received: by 10.84.232.74 with SMTP id f10mr15266304pln.90.1512426201531; Mon, 04 Dec 2017 14:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512426201; cv=none; d=google.com; s=arc-20160816; b=VkPdC3/NNt2nk+Y2NKG05LPm5LFetCATCFrREvpLiKPNaoy5jz8PPk+vXcTrv0ZJzH jJsQx4Ao2/PQ/KdYABGPUh/Ji8gInedVT1Il9No3X2qWRiLll2NVBftNWULx9KUjARTG LeYNlEs1XS1b/jPSBjXRymISAoPvOJNFvnWYdtG7iQVfH1EvlQLy/havOlBsi3xpj6CK gnHzKwoWUBvZSUsJOlwoA2T5/bBGabo3mrE5ulohnfzADhy16Bj+aU3nOjoWuyXQHXBq 8yIUvVYjg/JCVO1ZOzH073wwSxTw1bUsE8rn8tJQSnnLyvaVfpTUy0MMGn9Eb8AsCm5a FttQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=1s1B88EUlsKSLCJ6m2GCIfcqCQrVUi4ESebJVaJeu2o=; b=xyid++bMjfslE2Y/imPDNVWYwbPHSLENZcSDq4YmKPvMKIOBgkYB3L3YIHqeMvVNFL VTCmTxxvem1A/wg/oxwW7UEr6X4nm09HKYZIvf6G6HkSLy7vOYSUNEKNu6fBVlnFBf70 d22HQ3M0NSzvT0L3tWGf11OpVEqFdMZ5gNWRZC+wj5hHbMUMMqFEZx8fK+5qZaYZS01R NeWXNSYrkqbYHmaC3uYzwfqocMC6uqCbHZJ45coWACqfVakp+Tvri1bNFAG1eozVduFZ Vpu/9UutRc5z+F+g7d80GEGWicyt8JlYHNELOdx9WsB+K9qBJR06LcNFhEylPl6nWYrQ qXJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=T4r+l7GV; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e39si10360960plg.511.2017.12.04.14.23.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 14:23:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=T4r+l7GV; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 219AE2216229B; Mon, 4 Dec 2017 14:18:43 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 58F2322152380 for ; Mon, 4 Dec 2017 14:18:41 -0800 (PST) Received: by mail-wr0-x242.google.com with SMTP id y21so18949174wrc.1 for ; Mon, 04 Dec 2017 14:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yV6h5DuzIPvTU68dj8alN6H+9rQAN5fc/E1Jjud9up8=; b=T4r+l7GV7xQi862+fTzbVmZS6UWVduLm23u+RWDIrQQOTxTjjYgokPTAoNQUNA4y8+ 1yuAN0KE8bEDdY2YWooitGuY6cVeWoA4HzJklMhBLsIUE89HvQdBjsdply9ppYg9ZGTu jAcxvowdpHMYWL4xEoubUbxeJtnd2cCONMPVw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yV6h5DuzIPvTU68dj8alN6H+9rQAN5fc/E1Jjud9up8=; b=MDlSAFJ1fTaRoeCU5IA0gxRlqpKn138HnmfrUEwv7cF6Q6zrPfFMd5NXeoG9HgTa53 ziw32fjxhtE0AAFpUUNAVsWkB3RaVioNTP9vxCTvu/LVX7NBsmT7NtGwh9wWRaGpSc1Q MJNJz3harGuBBbPXY0u9tfJGhdyDGmMmlGs1IPn8J+1RMPfGkN25BznbO/WAhJyfDJBr JkL5QhJ4SmEYsdamYUpeD6Ev7vJrycYmAqaYJrvwH9QqaJTwyBCQIwhzyk2Nkt2KM7uA jfBDRGTCIKf6wMXeoC1R9U9LBpf0HatuIDlLsegr7N6Ykg3ReFKD5LfUvWzYWvh073yB KCBg== X-Gm-Message-State: AJaThX4q8sCHN1NkkCllvkUOF9qmUBpccEUPIUpEp+uKG2MAqFDtWP4L 7nhAAn40iQ14cANiy5/iTVCj9wr5hyA= X-Received: by 10.223.153.100 with SMTP id x91mr13082430wrb.189.1512426189995; Mon, 04 Dec 2017 14:23:09 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id x133sm5667961wmd.44.2017.12.04.14.23.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 14:23:09 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Mon, 4 Dec 2017 22:22:37 +0000 Message-Id: <20171204222243.15950-8-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171204222243.15950-1-ard.biesheuvel@linaro.org> References: <20171204222243.15950-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v2 07/13] ArmPlatformPkg/LcdGraphicsOutputDxe: move headers into driver directory X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The HdLcd.h and PL111Lcd.h header files are internal headers that should not be used by other drivers. So move them from Include/Drivers into the driver directory instead. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c | 3 +-- ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/HdLcd.h | 0 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c | 3 +-- ArmPlatformPkg/{Include/Drivers => Drivers/LcdGraphicsOutputDxe}/PL111Lcd.h | 0 4 files changed, 2 insertions(+), 4 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c index 2bfe2c0fe2dc..f5d7b53905fb 100644 --- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c +++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c @@ -18,8 +18,7 @@ #include #include -#include - +#include "HdLcd.h" #include "LcdGraphicsOutputDxe.h" /********************************************************************** diff --git a/ArmPlatformPkg/Include/Drivers/HdLcd.h b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.h similarity index 100% rename from ArmPlatformPkg/Include/Drivers/HdLcd.h rename to ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.h diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c index b5e113b844d4..a9ce60c5b0a6 100644 --- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c +++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c @@ -15,9 +15,8 @@ #include #include -#include - #include "LcdGraphicsOutputDxe.h" +#include "PL111Lcd.h" /********************************************************************** * diff --git a/ArmPlatformPkg/Include/Drivers/PL111Lcd.h b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.h similarity index 100% rename from ArmPlatformPkg/Include/Drivers/PL111Lcd.h rename to ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.h