hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/fsi/fsi-scom.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * SCOM FSI Client device driver
34 *
45 * Copyright (C) IBM Corporation 2016
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
146 */
157
168 #include <linux/fsi.h>
....@@ -20,7 +12,6 @@
2012 #include <linux/fs.h>
2113 #include <linux/uaccess.h>
2214 #include <linux/slab.h>
23
-#include <linux/cdev.h>
2415 #include <linux/list.h>
2516
2617 #include <uapi/linux/fsi.h>
....@@ -638,7 +629,7 @@
638629 return 0;
639630 }
640631
641
-static struct fsi_device_id scom_ids[] = {
632
+static const struct fsi_device_id scom_ids[] = {
642633 {
643634 .engine_type = FSI_ENGID_SCOM,
644635 .version = FSI_VERSION_ANY,