]> git.sur5r.net Git - u-boot/blobdiff - disk/part_dos.c
test/py: Import 'configparser' lower case to be python 3.x safe
[u-boot] / disk / part_dos.c
index 9dd086d3db0610d966f446b0f3ea350de9a71f57..936cee0d36cedc7ad3fa55180666175582f16bd0 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2001
  * Raymond Lo, lo@routefree.com
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -20,7 +19,7 @@
 #include <memalign.h>
 #include "part_dos.h"
 
-#ifdef HAVE_BLOCK_DEVICE
+#ifdef CONFIG_HAVE_BLOCK_DEVICE
 
 #define DOS_PART_DEFAULT_SECTOR 512