From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 47DB9220F3C3D for ; Thu, 30 Nov 2017 06:11:14 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id h1so6719585wre.12 for ; Thu, 30 Nov 2017 06:15:39 -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=Wn1nKnTEsVheLmkf8WrWdPixRD9vHYvHtJ1SOuhq/o0=; b=KgS0mgxU3XGAwuZC6zFQWldLi7sMMWklBOkD7K+9Lk51FUJj/vDhW4NnQEuV/8LMOt mGinbr1n3Jp5SJFwMujdHRH+8VpmXrcFraqlEol173V2D+ngNt58DUT2z28UVELMwMNQ RaucLykUZIml7OclNdjlaFZUEcGxRGRPXaur4= 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=Wn1nKnTEsVheLmkf8WrWdPixRD9vHYvHtJ1SOuhq/o0=; b=VRqvmXboIwcyOYL2eetpcKlbjpJ4xEZWWFk8EcRYK65gtcaABvdyorL1QhEsjnMoPE vfRhqhdLhGILk+yH7iGzEOwTShtar4St6Rte41ChIysN87hnrU2VfskdjJ4F809qUBME XzGJF9qzkmuQgQQjtXxVSNuy2zZaOI6HP2Y8royAvdo2iFwdmP2sKYb3Q6ScaLvCALkZ bmzkhqWLuvPhdeiGdpgm4WWEsFmUj1LHUYOkZyfcNPxR/gejTCpXJmrEmtXQAmInMqJK CgQasOL95FI/gOUyrnWL04U/oyHfSDY0Ae/JDTR43yD1znCxBPgXUgXpkOQWhv0cTgw7 mbgg== X-Gm-Message-State: AJaThX5yqIDhD3hJlI45+rhbkRrmo2uy4CXnAn69daC+lODwjXUJxvpU 7Z3zXyk/idD/SenoytEfUs8Pn9DHBbY= X-Google-Smtp-Source: AGs4zMb39Br/J/PIb1cOD/Bxehww5Qt+duiQbXJxYkp8ICbhICw5Qh5kiZqiVIOkbDPafkUf3a9WMg== X-Received: by 10.223.195.113 with SMTP id e46mr2239041wrg.149.1512051338077; Thu, 30 Nov 2017 06:15:38 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id f19sm2303555wmf.5.2017.11.30.06.15.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 06:15:37 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, Ard Biesheuvel Date: Thu, 30 Nov 2017 14:15:09 +0000 Message-Id: <20171130141509.27230-8-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171130141509.27230-1-ard.biesheuvel@linaro.org> References: <20171130141509.27230-1-ard.biesheuvel@linaro.org> Subject: [PATCH 7/7] ArmPlatformPkg: move internal PL031 header 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: , X-List-Received-Date: Thu, 30 Nov 2017 14:11:14 -0000 Move the internal PL031 RTC header file into the driver directory. It shouldn't be referenced directly by other modules anyway. While at it, sort the includes as well. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/{Include/Drivers => Library/PL031RealTimeClockLib}/PL031RealTimeClock.h | 0 ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c | 19 +++++++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h similarity index 100% rename from ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h rename to ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClock.h diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c index 1334ad446cd9..1d787cf5df2c 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -14,28 +14,27 @@ **/ -#include #include + +#include +#include + #include #include -#include +#include #include -#include #include #include -#include +#include +#include #include +#include #include #include #include -#include -#include - -#include - -#include +#include "PL031RealTimeClock.h" STATIC BOOLEAN mPL031Initialized = FALSE; STATIC EFI_EVENT mRtcVirtualAddrChangeEvent; -- 2.11.0