.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/drivers/video/ep93xx-fb.c |
---|
3 | 4 | * |
---|
.. | .. |
---|
10 | 11 | * |
---|
11 | 12 | * Based on the Cirrus Logic ep93xxfb driver, and various other ep93xxfb |
---|
12 | 13 | * drivers. |
---|
13 | | - * |
---|
14 | | - * This program is free software; you can redistribute it and/or modify |
---|
15 | | - * it under the terms of the GNU General Public License version 2 as |
---|
16 | | - * published by the Free Software Foundation. |
---|
17 | | - * |
---|
18 | 14 | */ |
---|
19 | 15 | |
---|
20 | 16 | #include <linux/platform_device.h> |
---|
.. | .. |
---|
406 | 402 | return 0; |
---|
407 | 403 | } |
---|
408 | 404 | |
---|
409 | | -static struct fb_ops ep93xxfb_ops = { |
---|
| 405 | +static const struct fb_ops ep93xxfb_ops = { |
---|
410 | 406 | .owner = THIS_MODULE, |
---|
411 | 407 | .fb_check_var = ep93xxfb_check_var, |
---|
412 | 408 | .fb_set_par = ep93xxfb_set_par, |
---|
.. | .. |
---|
434 | 430 | /* |
---|
435 | 431 | * There is a bug in the ep93xx framebuffer which causes problems |
---|
436 | 432 | * if bit 27 of the physical address is set. |
---|
437 | | - * See: http://marc.info/?l=linux-arm-kernel&m=110061245502000&w=2 |
---|
| 433 | + * See: https://marc.info/?l=linux-arm-kernel&m=110061245502000&w=2 |
---|
438 | 434 | * There does not seem to be any official errata for this, but I |
---|
439 | 435 | * have confirmed the problem exists on my hardware (ep9315) at |
---|
440 | 436 | * least. |
---|
.. | .. |
---|
478 | 474 | if (!info) |
---|
479 | 475 | return -ENOMEM; |
---|
480 | 476 | |
---|
481 | | - info->dev = &pdev->dev; |
---|
482 | 477 | platform_set_drvdata(pdev, info); |
---|
483 | 478 | fbi = info->par; |
---|
484 | 479 | fbi->mach_info = mach_info; |
---|