drm/panfrost: Remove type name from internal structs
authorSteven Price <steven.price@arm.com>
Mon, 17 Oct 2022 10:46:01 +0000 (11:46 +0100)
committerSteven Price <steven.price@arm.com>
Thu, 20 Oct 2022 10:02:01 +0000 (11:02 +0100)
commit7228d9d79248bd0c8af56a7667a88a875c674e0c
treeedd4403afa3b51a219d0c0249ad28c1dc3f68342
parenta91e5e3e2216354e27ee6adf9cb2d5d9548cad8c
drm/panfrost: Remove type name from internal structs

The two structs internal to struct panfrost_dump_object_header were
named, but sadly that is incompatible with C++, causing an error: "an
anonymous union may only have public non-static data members".

However nothing refers to struct pan_reg_hdr and struct pan_bomap_hdr
and there's no need to export these definitions, so lets drop them. This
fixes the C++ build error with the minimum change in userspace API.

Reported-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Fixes: 730c2bf4ad39 ("drm/panfrost: Add support for devcoredump")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017104602.142992-2-steven.price@arm.com
include/uapi/drm/panfrost_drm.h