Re: [PATCH v7 07/15] clk: ambarella: add CV75 RCT clock controller

From: Uwe Kleine-König

Date: Tue Sep 15 2026 - 10:49:26 EST


On Tue, Sep 15, 2026 at 07:15:37PM +0800, Long Zhao wrote:
> +#include <linux/mod_devicetable.h>

Please don't include <linux/mod_devicetable.h>. That's a hog for
unneeded dependencies and I'm working on getting rid of it.

> [...]
> +#include <linux/platform_device.h>

You can rely on <linux/platform_device.h> to pull in the definition of
of_device_id. (If you want to go full iwyu, include
<linux/device-id/of.h> instead.)

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature