From d576a9561a1c80ae593539fb0ce0743d66825ac2 Mon Sep 17 00:00:00 2001 From: Andi Shyti Date: Sat, 22 Aug 2026 14:19:12 +0200 Subject: Merge tag 'rust-i2c-for-7.3' into i2c/i2c i2c: rust: mark I2cAdapter methods as inline A single cleanup for the Rust I2C abstractions, targeting 7.3. `I2cAdapter::get`, `inc_ref`, and `dec_ref` are trivial wrappers around `i2c_get_adapter`/`i2c_put_adapter` and were showing up as their own symbols in the build. Mark them `#[inline]` so they get folded into their callers instead. Signed-off-by: Igor Korotin * tag 'rust-i2c-for-7.3': i2c: rust: mark I2cAdapter methods as inline --- drivers/interconnect/imx/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 drivers/interconnect/imx/Makefile (limited to 'drivers/interconnect/imx/Makefile') diff --git a/drivers/interconnect/imx/Makefile b/drivers/interconnect/imx/Makefile new file mode 100644 index 000000000..16d256cde --- /dev/null +++ b/drivers/interconnect/imx/Makefile @@ -0,0 +1,11 @@ +imx-interconnect-objs := imx.o +imx8mm-interconnect-objs := imx8mm.o +imx8mq-interconnect-objs := imx8mq.o +imx8mn-interconnect-objs := imx8mn.o +imx8mp-interconnect-objs := imx8mp.o + +obj-$(CONFIG_INTERCONNECT_IMX) += imx-interconnect.o +obj-$(CONFIG_INTERCONNECT_IMX8MM) += imx8mm-interconnect.o +obj-$(CONFIG_INTERCONNECT_IMX8MQ) += imx8mq-interconnect.o +obj-$(CONFIG_INTERCONNECT_IMX8MN) += imx8mn-interconnect.o +obj-$(CONFIG_INTERCONNECT_IMX8MP) += imx8mp-interconnect.o -- cgit v1.3.1