| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Frame Buffer Device for Toshiba Mobile IO(TMIO) controller |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 8 | 9 | * Based on: |
|---|
| 9 | 10 | * drivers/video/w100fb.c |
|---|
| 10 | 11 | * code written by Sharp/Lineo for 2.4 kernels |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 13 | | - * it under the terms of the GNU General Public License version 2 |
|---|
| 14 | | - * as published by the Free Software Foundation; |
|---|
| 15 | | - * |
|---|
| 16 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 17 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 19 | | - * GNU General Public License for more details. |
|---|
| 20 | 12 | */ |
|---|
| 21 | 13 | |
|---|
| 22 | 14 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 654 | 646 | return 0; |
|---|
| 655 | 647 | } |
|---|
| 656 | 648 | |
|---|
| 657 | | -static struct fb_ops tmiofb_ops = { |
|---|
| 649 | +static const struct fb_ops tmiofb_ops = { |
|---|
| 658 | 650 | .owner = THIS_MODULE, |
|---|
| 659 | 651 | |
|---|
| 660 | 652 | .fb_ioctl = tmiofb_ioctl, |
|---|