| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright © 2017 Broadcom |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | | -#include <linux/amba/clcd-regs.h> |
|---|
| 10 | 6 | #include <linux/seq_file.h> |
|---|
| 7 | + |
|---|
| 11 | 8 | #include <drm/drm_debugfs.h> |
|---|
| 12 | | -#include <drm/drmP.h> |
|---|
| 9 | +#include <drm/drm_file.h> |
|---|
| 10 | + |
|---|
| 13 | 11 | #include "pl111_drm.h" |
|---|
| 14 | 12 | |
|---|
| 15 | 13 | #define REGDEF(reg) { reg, #reg } |
|---|
| .. | .. |
|---|
| 52 | 50 | {"regs", pl111_debugfs_regs, 0}, |
|---|
| 53 | 51 | }; |
|---|
| 54 | 52 | |
|---|
| 55 | | -int |
|---|
| 53 | +void |
|---|
| 56 | 54 | pl111_debugfs_init(struct drm_minor *minor) |
|---|
| 57 | 55 | { |
|---|
| 58 | | - return drm_debugfs_create_files(pl111_debugfs_list, |
|---|
| 59 | | - ARRAY_SIZE(pl111_debugfs_list), |
|---|
| 60 | | - minor->debugfs_root, minor); |
|---|
| 56 | + drm_debugfs_create_files(pl111_debugfs_list, |
|---|
| 57 | + ARRAY_SIZE(pl111_debugfs_list), |
|---|
| 58 | + minor->debugfs_root, minor); |
|---|
| 61 | 59 | } |
|---|