hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/input/keyboard/goldfish_events.c
....@@ -1,16 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2007 Google, Inc.
34 * Copyright (C) 2012 Intel, Inc.
4
- *
5
- * This software is licensed under the terms of the GNU General Public
6
- * License version 2, as published by the Free Software Foundation, and
7
- * may be copied, distributed, and modified under those terms.
8
- *
9
- * This program is distributed in the hope that it will be useful,
10
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- * GNU General Public License for more details.
13
- *
145 */
156
167 #include <linux/module.h>
....@@ -39,7 +30,7 @@
3930 struct input_dev *input;
4031 int irq;
4132 void __iomem *addr;
42
- char name[0];
33
+ char name[];
4334 };
4435
4536 static irqreturn_t events_interrupt(int irq, void *dev_id)