| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7760/SH7763 LCDC Framebuffer driver. |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Manuel Lauss <mano@roarinelk.homelinux.net> |
|---|
| 6 | 7 | * (c) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
|---|
| 7 | 8 | * |
|---|
| 8 | | - * This file is subject to the terms and conditions of the GNU General |
|---|
| 9 | | - * Public License. See the file COPYING in the main directory of this |
|---|
| 10 | | - * archive for more details. |
|---|
| 11 | | - * |
|---|
| 12 | | - * PLEASE HAVE A LOOK AT Documentation/fb/sh7760fb.txt! |
|---|
| 9 | + * PLEASE HAVE A LOOK AT Documentation/fb/sh7760fb.rst! |
|---|
| 13 | 10 | * |
|---|
| 14 | 11 | * Thanks to Siegfried Schaefer <s.schaefer at schaefer-edv.de> |
|---|
| 15 | 12 | * for his original source and testing! |
|---|
| .. | .. |
|---|
| 344 | 341 | return 0; |
|---|
| 345 | 342 | } |
|---|
| 346 | 343 | |
|---|
| 347 | | -static struct fb_ops sh7760fb_ops = { |
|---|
| 344 | +static const struct fb_ops sh7760fb_ops = { |
|---|
| 348 | 345 | .owner = THIS_MODULE, |
|---|
| 349 | 346 | .fb_blank = sh7760fb_blank, |
|---|
| 350 | 347 | .fb_check_var = sh7760fb_check_var, |
|---|
| .. | .. |
|---|
| 466 | 463 | goto out_fb; |
|---|
| 467 | 464 | } |
|---|
| 468 | 465 | |
|---|
| 469 | | - par->base = ioremap_nocache(res->start, resource_size(res)); |
|---|
| 466 | + par->base = ioremap(res->start, resource_size(res)); |
|---|
| 470 | 467 | if (!par->base) { |
|---|
| 471 | 468 | dev_err(&pdev->dev, "cannot remap\n"); |
|---|
| 472 | 469 | ret = -ENODEV; |
|---|
| .. | .. |
|---|
| 587 | 584 | |
|---|
| 588 | 585 | MODULE_AUTHOR("Nobuhiro Iwamatsu, Manuel Lauss"); |
|---|
| 589 | 586 | MODULE_DESCRIPTION("FBdev for SH7760/63 integrated LCD Controller"); |
|---|
| 590 | | -MODULE_LICENSE("GPL"); |
|---|
| 587 | +MODULE_LICENSE("GPL v2"); |
|---|