Fix copyright headers BUG=b:319124515 TEST=make local_tests && make um_ppm Change-Id: I893d4e02c8e0ec2f04e76a9958c4e8b8076ecd49 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/usb/um_ppm/+/5255580 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Abhishek Pandit-Subedi <abhishekpandit@google.com>
diff --git a/include/pd_driver.h b/include/pd_driver.h index 698d308..f4c84da 100644 --- a/include/pd_driver.h +++ b/include/pd_driver.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_INCLUDE_PD_DRIVER_H_ #define UM_PPM_INCLUDE_PD_DRIVER_H_
diff --git a/include/platform.h b/include/platform.h index 7103733..20eafba 100644 --- a/include/platform.h +++ b/include/platform.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_INCLUDE_PLATFORM_H_ #define UM_PPM_INCLUDE_PLATFORM_H_
diff --git a/include/ppm.h b/include/ppm.h index 5130ea1..e54ea81 100644 --- a/include/ppm.h +++ b/include/ppm.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_INCLUDE_PPM_H_ #define UM_PPM_INCLUDE_PPM_H_
diff --git a/include/smbus.h b/include/smbus.h index 375f1c2..f1ce034 100644 --- a/include/smbus.h +++ b/include/smbus.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_INCLUDE_SMBUS_H_ #define UM_PPM_INCLUDE_SMBUS_H_
diff --git a/main.c b/main.c index 2190068..fc68d56 100644 --- a/main.c +++ b/main.c
@@ -1,6 +1,7 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include <stdio.h> #include <stdlib.h>
diff --git a/platform_usermode.c b/platform_usermode.c index 05ebd02..8852025 100644 --- a/platform_usermode.c +++ b/platform_usermode.c
@@ -1,6 +1,7 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include <pthread.h> #include <stdarg.h>
diff --git a/ppm_common.c b/ppm_common.c index 8014cbb..9655f0e 100644 --- a/ppm_common.c +++ b/ppm_common.c
@@ -1,6 +1,7 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include "ppm_common.h"
diff --git a/ppm_common.h b/ppm_common.h index 3660c2c..03ec9f8 100644 --- a/ppm_common.h +++ b/ppm_common.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_PPM_COMMON_H_ #define UM_PPM_PPM_COMMON_H_
diff --git a/rts5453.c b/rts5453.c index f822b8b..c81390b 100644 --- a/rts5453.c +++ b/rts5453.c
@@ -1,6 +1,7 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include "rts5453.h"
diff --git a/rts5453.h b/rts5453.h index f865956..2921d80 100644 --- a/rts5453.h +++ b/rts5453.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_RTS5453_H_ #define UM_PPM_RTS5453_H_
diff --git a/rts5453_usermode.c b/rts5453_usermode.c index bbe176c..2648d7d 100644 --- a/rts5453_usermode.c +++ b/rts5453_usermode.c
@@ -1,6 +1,8 @@ -// Copyright 2024 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #include <fcntl.h> #include <getopt.h> #include <stdio.h>
diff --git a/smbus_usermode.c b/smbus_usermode.c index 65b8f84..eb6810e 100644 --- a/smbus_usermode.c +++ b/smbus_usermode.c
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #include "smbus_usermode.h" #include <fcntl.h>
diff --git a/smbus_usermode.h b/smbus_usermode.h index 8bfae40..0f2e3e5 100644 --- a/smbus_usermode.h +++ b/smbus_usermode.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_SMBUS_USERMODE_H_ #define UM_PPM_SMBUS_USERMODE_H_
diff --git a/test/ppm_tests.cc b/test/ppm_tests.cc index 1c06dc1..b431e16 100644 --- a/test/ppm_tests.cc +++ b/test/ppm_tests.cc
@@ -1,6 +1,7 @@ -// Copyright 2024 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include <gtest/gtest.h> #include <stdint.h>
diff --git a/um_ppm_chardev.c b/um_ppm_chardev.c index c050f30..5921dbc 100644 --- a/um_ppm_chardev.c +++ b/um_ppm_chardev.c
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #include "um_ppm_chardev.h" #include <errno.h>
diff --git a/um_ppm_chardev.h b/um_ppm_chardev.h index 1449d20..31578ef 100644 --- a/um_ppm_chardev.h +++ b/um_ppm_chardev.h
@@ -1,6 +1,8 @@ -// Copyright 2023 The ChromiumOS Authors -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. +/* Copyright 2024 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + #ifndef UM_PPM_CHARDEV_H_ #define UM_PPM_CHARDEV_H_