Re: [RFC PATCH 02/28] media: mali-vpu: add Mali VPU platform driver

From: Charvi Mehta

Date: Tue Nov 24 2026 - 05:18:02 EST



On 11/20/26 11:48, Uwe Kleine-König wrote:
+#include <linux/bitfield.h>
+#include <linux/clk.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/errno.h>
+#include <linux/io.h>
+#include <linux/mod_devicetable.h>
Please don't include <linux/mod_devicetable.h>.

+#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/platform_device.h>
<linux/platform_device.h> already provides of_device_id, so
<linux/mod_devicetable.h> can just be dropped.
Thanks, I’ll drop the redundant include.


[...]
+static const struct of_device_id mali_vpu_dt_match[] = {
+ {
+ .compatible = "arm,mali-v76",
+ .data = &mali_vpu_v76_variant,
+ },
+ {},
s/{},/{ }/
I’ll add the space, keeping the trailing comma for consistency with the other initializers in the driver.


Regards,
Charvi