Browse Source

nvmxip: move header to include

Move header to include to allow external code
to get the internal bdev structures to access
block device operations.

as at it, just add the UCLASS_NVMXIP string
so we get the correct output in partitions
listing.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Rui Miguel Silva 1 year ago
parent
commit
dc3abd8006
2 changed files with 1 additions and 1 deletions
  1. 0 0
      include/nvmxip.h
  2. 1 1
      test/dm/nvmxip.c

+ 0 - 0
drivers/mtd/nvmxip/nvmxip.h → include/nvmxip.h


+ 1 - 1
test/dm/nvmxip.c

@@ -17,7 +17,7 @@
 #include <linux/bitops.h>
 #include <test/test.h>
 #include <test/ut.h>
-#include "../../drivers/mtd/nvmxip/nvmxip.h"
+#include <nvmxip.h>
 
 /* NVMXIP devices described in the device tree */
 #define SANDBOX_NVMXIP_DEVICES 2