hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/platform/s3c-camif/camif-regs.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Samsung s3c24xx/s3c64xx SoC CAMIF driver
34 *
45 * Copyright (C) 2012 Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
56 * Copyright (C) 2012 Tomasz Figa <tomasz.figa@gmail.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118 #define pr_fmt(fmt) "%s:%d " fmt, __func__, __LINE__
129
....@@ -556,7 +553,7 @@
556553
557554 void camif_hw_dump_regs(struct camif_dev *camif, const char *label)
558555 {
559
- struct {
556
+ static const struct {
560557 u32 offset;
561558 const char * const name;
562559 } registers[] = {