| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/drivers/video/acornfb.c |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 1998-2001 Russell King |
|---|
| 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 | 6 | * |
|---|
| 10 | 7 | * Frame buffer code for Acorn platforms |
|---|
| 11 | 8 | * |
|---|
| .. | .. |
|---|
| 33 | 30 | #include <mach/hardware.h> |
|---|
| 34 | 31 | #include <asm/irq.h> |
|---|
| 35 | 32 | #include <asm/mach-types.h> |
|---|
| 36 | | -#include <asm/pgtable.h> |
|---|
| 37 | 33 | |
|---|
| 38 | 34 | #include "acornfb.h" |
|---|
| 39 | 35 | |
|---|
| .. | .. |
|---|
| 607 | 603 | return 0; |
|---|
| 608 | 604 | } |
|---|
| 609 | 605 | |
|---|
| 610 | | -static struct fb_ops acornfb_ops = { |
|---|
| 606 | +static const struct fb_ops acornfb_ops = { |
|---|
| 611 | 607 | .owner = THIS_MODULE, |
|---|
| 612 | 608 | .fb_check_var = acornfb_check_var, |
|---|
| 613 | 609 | .fb_set_par = acornfb_set_par, |
|---|
| .. | .. |
|---|
| 861 | 857 | case 'M': |
|---|
| 862 | 858 | case 'm': |
|---|
| 863 | 859 | size *= 1024; |
|---|
| 860 | + fallthrough; |
|---|
| 864 | 861 | case 'K': |
|---|
| 865 | 862 | case 'k': |
|---|
| 866 | 863 | size *= 1024; |
|---|