Skip to contentSkip to conversation

can: mcp251xfd: Fix header block to clarify independence from OF

PATCH In review Andy Shevchenko 2 participants 3 messages May 26, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 can: mcp251xfd: Fix header block to clarify independence from OF

The driver is neither dependent on OF, nor it requires any OF headers. Fix header block to clarify independence from OF.

---
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c +1 -2
index e0ae00e34c7b..81d0e5c2dd5c 100644
@@ -15,9 +15,8 @@
 #include <linux/bitfield.h>
 #include <linux/clk.h>
 #include <linux/device.h>
+#include <linux/mod_devicetable.h>
 #include <linux/module.h>
-#include <linux/of.h>
-#include <linux/of_device.h>
 #include <linux/pm_runtime.h>
 
 #include <asm/unaligned.h>
Signature · 1 line
2.30.2
#1 lore raw
Quoted 4 lines · Andy Shevchenko

The driver is neither dependent on OF, nor it requires any OF headers. Fix header block to clarify independence from OF.

Does it already work on ACPI?

Applied to linux-can-next/testing.

thanks,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |
#2 lore raw
Quoted 7 lines · Marc Kleine-Budde
Quoted 4 lines · Andy Shevchenko

The driver is neither dependent on OF, nor it requires any OF headers. Fix header block to clarify independence from OF.

Does it already work on ACPI?

Nope.

Quoted 1 line

Applied to linux-can-next/testing.

Please, scratch this (because of above).

I'll send out a v2 shortly.

Signature · 2 lines
With Best Regards,
Andy Shevchenko