Re: [PATCH v1] clk: qcom: Drop inclusions of <linux/mod_devicetable.h>
From: Brian Masney
Date: Thu Jul 16 2026 - 15:16:12 EST
On Thu, Jul 16, 2026 at 08:21:05PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> The only used symbol in these four drivers that is provided by
> <linux/mod_devicetable.h> is of_device_id and this is also provided by
> <linux/platform_device.h>.
I don't see it defined in platform_device, unless I am missing
something?
It looks like the reason this compiles is because of this chain of
includes:
linux/clk-provider.h -> linux/of.h -> linux/device-id/of.h
> So drop the unneeded include which brings us
> one step closer to removing <linux/mod_devicetable.h>.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
With an updated commit message:
Reviewed-by: Brian Masney <bmasney@xxxxxxxxxx>