arc: add empty asm/processor.h to satisfy compilation of USB code
PATCH 1/1 arc: add empty asm/processor.h to satisfy compilation of USB code
common/usb.c unconditionally includes <asm/processor.h>
And now to allow USB support on ARC boards we have to have that header.
Signed-off-by Alexey Brodkin <[email protected]>
--- arch/arc/include/asm/processor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/arc/include/asm/processor.h
arch/arc/include/asm/processor.h new file +12 -0
@@ -0,0 +1,12 @@ +/* +* Copyright (C) 2015 Synopsys, Inc. All rights reserved. +* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#ifndef _ASM_ARC_PROCESSOR_H +#define _ASM_ARC_PROCESSOR_H + +/* This file is required by some generic code like USB etc */ + +#endif /* _ASM_ARC_PROCESSOR_H */
Signature · 1 line
2.4.3
Alexey Brodkin
AppliedPATCH 1/1 arc: add empty asm/processor.h to satisfy compilation of USB code
Hi,
Quoted 17 lines · Alexey Brodkin
common/usb.cunconditionally includes <asm/processor.h>
And now to allow USB support on ARC boards we have to have that header.Signed-off-by Alexey Brodkin <[email protected]>--- arch/arc/include/asm/processor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/arc/include/asm/processor.harch/arc/include/asm/processor.h new file +2
-0@@ -0,0 +1,12 @@ +/* +* Copyright (C) 2015 Synopsys, Inc. All rights reserved.
arch/arc/include/asm/processor.h line 12
Quoted 10 lines
arch/arc/include/asm/processor.h new file +10
-0+* +* SPDX-License-Identifier: GPL-2.0+ +*/ + +#ifndef _ASM_ARC_PROCESSOR_H +#define _ASM_ARC_PROCESSOR_H + +/* This file is required by some generic code like USB etc */ + +#endif /* _ASM_ARC_PROCESSOR_H */
Applied, thanks!
-Alexey