dm: Add support for scsi/sata based devices
[oweals/u-boot.git] / include / linux / types.h
index c7e8fdb9c27b1b4890dd1437712ce4d7ceba0a27..416fa6628482d8cb5afa356df2f3e34f2411fa8d 100644 (file)
@@ -124,7 +124,10 @@ typedef            __UINT64_TYPE__ u_int64_t;
 typedef                __INT64_TYPE__          int64_t;
 #endif
 
-typedef unsigned long uintptr_t;
+#ifdef __KERNEL__
+typedef phys_addr_t resource_size_t;
+#endif
+
 /*
  * Below are truly Linux-specific types that should never collide with
  * any application/library that wants linux/types.h.