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/ipack/devices/ipoctal.h | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/kernel/drivers/ipack/devices/ipoctal.h b/kernel/drivers/ipack/devices/ipoctal.h index 7fede0e..75f83ba 100644 --- a/kernel/drivers/ipack/devices/ipoctal.h +++ b/kernel/drivers/ipack/devices/ipoctal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /** * ipoctal.h * @@ -6,10 +7,6 @@ * Copyright (C) 2009-2012 CERN (www.cern.ch) * Author: Nicolas Serafini, EIC2 SA * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com> - * - * 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. */ #ifndef _IPOCTAL_H_ @@ -18,7 +15,6 @@ #define NR_CHANNELS 8 #define IPOCTAL_MAX_BOARDS 16 #define MAX_DEVICES (NR_CHANNELS * IPOCTAL_MAX_BOARDS) -#define RELEVANT_IFLAG(iflag) ((iflag) & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK)) /** * struct ipoctal_stats -- Stats since last reset -- Gitblit v1.6.2