Thread (82 messages) 82 messages, 11 authors, 2024-11-22

Re: [PATCH v1 4/9] can: Add Nuvoton NCT6694 CAN support

From: Ming Yu <hidden>
Date: 2024-11-01 01:37:50
Also in: linux-can, linux-gpio, linux-hwmon, linux-i2c, linux-iio, linux-pwm, linux-rtc, linux-watchdog, lkml

quoted
 MAINTAINERS                     |   1 +
 drivers/net/can/Kconfig         |  10 +
 drivers/net/can/Makefile        |   1 +
 drivers/net/can/nct6694_canfd.c | 843 ++++++++++++++++++++++++++++++++
FTBFS:

| make[5]: *** No rule to make target 'drivers/net/can/nct6604_canfd.o', needed by 'drivers/net/can/'.  Stop.

[...]
quoted
diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile
index a71db2cfe990..825c011aead5 100644
--- a/drivers/net/can/Makefile
+++ b/drivers/net/can/Makefile
@@ -28,6 +28,7 @@ obj-$(CONFIG_CAN_JANZ_ICAN3)        += janz-ican3.o
 obj-$(CONFIG_CAN_KVASER_PCIEFD)      += kvaser_pciefd.o
 obj-$(CONFIG_CAN_MSCAN)              += mscan/
 obj-$(CONFIG_CAN_M_CAN)              += m_can/
+obj-$(CONFIG_CAN_NCT6694)    += nct6604_canfd.o
                                   ^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^
quoted
 obj-$(CONFIG_CAN_PEAK_PCIEFD)        += peak_canfd/
 obj-$(CONFIG_CAN_SJA1000)    += sja1000/
 obj-$(CONFIG_CAN_SUN4I)              += sun4i_can.o
diff --git a/drivers/net/can/nct6694_canfd.c b/drivers/net/can/nct6694_canfd.c
new file mode 100644
index 000000000000..d873a9fd656d
--- /dev/null
+++ b/drivers/net/can/nct6694_canfd.c
                        ^^^^^^^^^^^^^^^

This doesn't compile :(
Sorry for the typo, it should be nct6694_canfd.o in the Makefile,
I will modify it in the next patch,

Thanks,
Ming
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help