| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OMAP1 internal LCD controller |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2004 Nokia Corporation |
|---|
| 5 | 6 | * Author: Imre Deak <imre.deak@nokia.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 9 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 10 | | - * option) any later version. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 13 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 15 | | - * General Public License for more details. |
|---|
| 16 | | - * |
|---|
| 17 | | - * You should have received a copy of the GNU General Public License along |
|---|
| 18 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 19 | | - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|---|
| 20 | 7 | */ |
|---|
| 21 | 8 | #include <linux/module.h> |
|---|
| 22 | 9 | #include <linux/device.h> |
|---|
| .. | .. |
|---|
| 341 | 328 | lcdc.bpp = 12; |
|---|
| 342 | 329 | break; |
|---|
| 343 | 330 | } |
|---|
| 344 | | - /* fallthrough */ |
|---|
| 331 | + fallthrough; |
|---|
| 345 | 332 | case OMAPFB_COLOR_YUV422: |
|---|
| 346 | 333 | if (lcdc.ext_mode) { |
|---|
| 347 | 334 | lcdc.bpp = 16; |
|---|
| 348 | 335 | break; |
|---|
| 349 | 336 | } |
|---|
| 350 | | - /* fallthrough */ |
|---|
| 337 | + fallthrough; |
|---|
| 351 | 338 | default: |
|---|
| 352 | 339 | /* FIXME: other BPPs. |
|---|
| 353 | 340 | * bpp1: code 0, size 256 |
|---|