The driver is neither dependent on OF, nor it requires any OF headers.
Fix header block to clarify independence from OF.
Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
index e0ae00e34c7b..81d0e5c2dd5c 100644
--- a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
+++ b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
@@ -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>
--
2.30.2
On 26.05.2021 22:18:01, Andy Shevchenko wrote:
> The driver is neither dependent on OF, nor it requires any OF headers.
> Fix header block to clarify independence from OF.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
Does it already work on ACPI?
Applied to linux-can-next/testing.
thanks,
Marc
--
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 |
On Wed, May 26, 2021 at 09:22:14PM +0200, Marc Kleine-Budde wrote:
> On 26.05.2021 22:18:01, Andy Shevchenko wrote:
> > The driver is neither dependent on OF, nor it requires any OF headers.
> > Fix header block to clarify independence from OF.
> >
> > Signed-off-by: Andy Shevchenko <[email protected]>
>
> Does it already work on ACPI?
Nope.
> Applied to linux-can-next/testing.
Please, scratch this (because of above).
I'll send out a v2 shortly.
--
With Best Regards,
Andy Shevchenko