summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panfrost/panfrost_device.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@collabora.com>2021-06-30 08:27:40 +0200
committerBoris Brezillon <boris.brezillon@collabora.com>2021-07-01 08:53:28 +0200
commit6ef2f37f4016a482fd31d21bb295494d26794a7a (patch)
tree542838efe43df7e2add776e02be8448cc194f8fa /drivers/gpu/drm/panfrost/panfrost_device.c
parent42738bad000ec820074de794264f31922517cc73 (diff)
downloadlinux-stable-6ef2f37f4016a482fd31d21bb295494d26794a7a.tar.gz
linux-stable-6ef2f37f4016a482fd31d21bb295494d26794a7a.tar.bz2
linux-stable-6ef2f37f4016a482fd31d21bb295494d26794a7a.zip
drm/panfrost: Drop the pfdev argument passed to panfrost_exception_name()
Currently unused. We'll add it back if we need per-GPU definitions. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210630062751.2832545-6-boris.brezillon@collabora.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_device.c')
-rw-r--r--drivers/gpu/drm/panfrost/panfrost_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_device.c b/drivers/gpu/drm/panfrost/panfrost_device.c
index a2a09c51eed7..f7f5ca94f910 100644
--- a/drivers/gpu/drm/panfrost/panfrost_device.c
+++ b/drivers/gpu/drm/panfrost/panfrost_device.c
@@ -292,7 +292,7 @@ void panfrost_device_fini(struct panfrost_device *pfdev)
panfrost_clk_fini(pfdev);
}
-const char *panfrost_exception_name(struct panfrost_device *pfdev, u32 exception_code)
+const char *panfrost_exception_name(u32 exception_code)
{
switch (exception_code) {
/* Non-Fault Status code */