| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Samsung s3c24xx/s3c64xx SoC CAMIF driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2012 Sylwester Nawrocki <sylvester.nawrocki@gmail.com> |
|---|
| 5 | 6 | * 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. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | #define pr_fmt(fmt) "%s:%d " fmt, __func__, __LINE__ |
|---|
| 12 | 9 | |
|---|
| .. | .. |
|---|
| 556 | 553 | |
|---|
| 557 | 554 | void camif_hw_dump_regs(struct camif_dev *camif, const char *label) |
|---|
| 558 | 555 | { |
|---|
| 559 | | - struct { |
|---|
| 556 | + static const struct { |
|---|
| 560 | 557 | u32 offset; |
|---|
| 561 | 558 | const char * const name; |
|---|
| 562 | 559 | } registers[] = { |
|---|