| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SCOM FSI Client device driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 14 | 6 | */ |
|---|
| 15 | 7 | |
|---|
| 16 | 8 | #include <linux/fsi.h> |
|---|
| .. | .. |
|---|
| 20 | 12 | #include <linux/fs.h> |
|---|
| 21 | 13 | #include <linux/uaccess.h> |
|---|
| 22 | 14 | #include <linux/slab.h> |
|---|
| 23 | | -#include <linux/cdev.h> |
|---|
| 24 | 15 | #include <linux/list.h> |
|---|
| 25 | 16 | |
|---|
| 26 | 17 | #include <uapi/linux/fsi.h> |
|---|
| .. | .. |
|---|
| 638 | 629 | return 0; |
|---|
| 639 | 630 | } |
|---|
| 640 | 631 | |
|---|
| 641 | | -static struct fsi_device_id scom_ids[] = { |
|---|
| 632 | +static const struct fsi_device_id scom_ids[] = { |
|---|
| 642 | 633 | { |
|---|
| 643 | 634 | .engine_type = FSI_ENGID_SCOM, |
|---|
| 644 | 635 | .version = FSI_VERSION_ANY, |
|---|