diff mbox series

[v1,1/1] can: mcp251xfd: Fix header block to clarify independence from OF

Message ID 20210526191801.70012-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series [v1,1/1] can: mcp251xfd: Fix header block to clarify independence from OF | expand

Checks

Context Check Description
netdev/tree_selection success Series ignored based on subject

Commit Message

Andy Shevchenko May 26, 2021, 7:18 p.m. UTC
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 <andriy.shevchenko@linux.intel.com>
---
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Marc Kleine-Budde May 26, 2021, 7:22 p.m. UTC | #1
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 <andriy.shevchenko@linux.intel.com>

Does it already work on ACPI?

Applied to linux-can-next/testing. 

thanks,
Marc
Andy Shevchenko May 26, 2021, 7:32 p.m. UTC | #2
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 <andriy.shevchenko@linux.intel.com>
> 
> 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.
diff mbox series

Patch

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>