| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2007 Google, Inc. |
|---|
| 3 | 4 | * 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 | | - * |
|---|
| 14 | 5 | */ |
|---|
| 15 | 6 | |
|---|
| 16 | 7 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 169 | 160 | return 0; |
|---|
| 170 | 161 | } |
|---|
| 171 | 162 | |
|---|
| 172 | | -static struct fb_ops goldfish_fb_ops = { |
|---|
| 163 | +static const struct fb_ops goldfish_fb_ops = { |
|---|
| 173 | 164 | .owner = THIS_MODULE, |
|---|
| 174 | 165 | .fb_check_var = goldfish_fb_check_var, |
|---|
| 175 | 166 | .fb_set_par = goldfish_fb_set_par, |
|---|