forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/ipack/devices/ipoctal.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /**
23 * ipoctal.h
34 *
....@@ -6,10 +7,6 @@
67 * Copyright (C) 2009-2012 CERN (www.cern.ch)
78 * Author: Nicolas Serafini, EIC2 SA
89 * Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
9
- *
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License as published by the Free
12
- * Software Foundation; version 2 of the License.
1310 */
1411
1512 #ifndef _IPOCTAL_H_
....@@ -18,7 +15,6 @@
1815 #define NR_CHANNELS 8
1916 #define IPOCTAL_MAX_BOARDS 16
2017 #define MAX_DEVICES (NR_CHANNELS * IPOCTAL_MAX_BOARDS)
21
-#define RELEVANT_IFLAG(iflag) ((iflag) & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
2218
2319 /**
2420 * struct ipoctal_stats -- Stats since last reset