[coreboot-gerrit] Change in coreboot[master]: drivers/adau7002: Fix include file

Daniel Kurtz (Code Review) gerrit at coreboot.org
Mon Feb 12 21:19:37 CET 2018


Hello Daniel Kurtz,

I'd like you to do a code review. Please visit

    https://review.coreboot.org/23721

to review the following change.


Change subject: drivers/adau7002: Fix include file
......................................................................

drivers/adau7002: Fix include file

Add missing license and include guard and remove unneeded include.

BUG=b:72121803
TEST=compiles

Change-Id: Ic359ed262086596a98131669f8eecd531857187a
Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
---
M src/drivers/generic/adau7002/chip.h
1 file changed, 19 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/23721/1

diff --git a/src/drivers/generic/adau7002/chip.h b/src/drivers/generic/adau7002/chip.h
index 809a680..95b4d1e 100644
--- a/src/drivers/generic/adau7002/chip.h
+++ b/src/drivers/generic/adau7002/chip.h
@@ -1,4 +1,22 @@
-#include <arch/acpi_device.h>
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2018 Google LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __I2C_GENERIC_ADAU7002_CHIP_H__
+#define __I2C_GENERIC_ADAU7002_CHIP_H__
 
 struct drivers_generic_adau7002_config {
 };
+
+#endif /* __I2C_GENERIC_ADAU7002_CHIP_H__ */

-- 
To view, visit https://review.coreboot.org/23721
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic359ed262086596a98131669f8eecd531857187a
Gerrit-Change-Number: 23721
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Kurtz <djkurtz at google.com>
Gerrit-Reviewer: Daniel Kurtz <djkurtz at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180212/7ed99e16/attachment.html>


More information about the coreboot-gerrit mailing list