]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: clk-axi-clkgen: make sure to include mod_devicetable.h
authorNuno Sá <nuno.sa@analog.com>
Mon, 19 May 2025 15:41:07 +0000 (16:41 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 1 Jul 2025 00:57:07 +0000 (17:57 -0700)
The mod_devicetable header is the one to be used for struct
of_device_id.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250519-dev-axi-clkgen-limits-v6-2-bc4b3b61d1d4@analog.com
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-axi-clkgen.c

index 00bf799964c61a3efc042b0f3a9ec3bc8625c9da..2a95f9b220234a1245024a821c50e1eb9c104ac9 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/io.h>
 #include <linux/of.h>
 #include <linux/module.h>
+#include <linux/mod_devicetable.h>
 #include <linux/err.h>
 
 #define AXI_CLKGEN_V2_REG_RESET                0x40