From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/drivers/phy/samsung/phy-samsung-usb2.h | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/phy/samsung/phy-samsung-usb2.h b/kernel/drivers/phy/samsung/phy-samsung-usb2.h index 6563e7c..77fb23b 100644 --- a/kernel/drivers/phy/samsung/phy-samsung-usb2.h +++ b/kernel/drivers/phy/samsung/phy-samsung-usb2.h @@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Samsung SoC USB 1.1/2.0 PHY driver * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * Author: Kamil Debski <k.debski@samsung.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef _PHY_EXYNOS_USB2_H @@ -46,7 +43,7 @@ struct regmap *reg_pmu; struct regmap *reg_sys; spinlock_t lock; - struct samsung_usb2_phy_instance instances[0]; + struct samsung_usb2_phy_instance instances[]; }; struct samsung_usb2_common_phy { -- Gitblit v1.6.2