소스 검색

include: asm: types: add resource_size_t type

Added resource_size_t type in order to get rid of the following
compilation error whiel building dwc3 gadget.
include/linux/ioport.h:19:2: error: unknown type name ‘resource_size_t’

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Kishon Vijay Abraham I 10 년 전
부모
커밋
72e7c32fe4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      arch/arm/include/asm/types.h

+ 1 - 0
arch/arm/include/asm/types.h

@@ -54,4 +54,5 @@ typedef unsigned long phys_size_t;
 
 
 #endif /* __KERNEL__ */
 #endif /* __KERNEL__ */
 
 
+typedef unsigned long resource_size_t;
 #endif
 #endif