Skip to contentSkip to conversation

arc: add empty asm/processor.h to satisfy compilation of USB code

PATCH New Alexey Brodkin 1 participant 2 messages Nov 12, 2015 – Nov 17, 2015 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

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.

---
 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
new file mode 100644
index 0000000..6355423
@@ -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
author Applied
#1 lore raw

PATCH 1/1 arc: add empty asm/processor.h to satisfy compilation of USB code

Hi,

Quoted 17 lines · Alexey Brodkin

common/usb.c unconditionally includes <asm/processor.h>
And now to allow USB support on ARC boards we have to have that header.

---
 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 +2 -0
new file mode 100644
index 0000000..6355423
@@ -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