diff mbox

[U-Boot] arc: add empty asm/processor.h to satisfy compilation of USB code

Message ID 1447365462-16676-1-git-send-email-abrodkin@synopsys.com
State Accepted, archived
Delegated to: Alexey Brodkin
Headers show

Commit Message

Alexey Brodkin Nov. 12, 2015, 9:57 p.m. UTC
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 <abrodkin@synopsys.com>
---
 arch/arc/include/asm/processor.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arc/include/asm/processor.h

Comments

Alexey Brodkin Nov. 17, 2015, 9:46 p.m. UTC | #1
Hi,

On Fri, 2015-11-13 at 00:57 +0300, Alexey Brodkin wrote:
> 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 <abrodkin@synopsys.com>
> ---
>  arch/arc/include/asm/processor.h | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 arch/arc/include/asm/processor.h
> 
> diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h
> new file mode 100644
> index 0000000..6355423
> --- /dev/null
> +++ b/arch/arc/include/asm/processor.h
> @@ -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 */

Applied, thanks!

-Alexey
diff mbox

Patch

diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h
new file mode 100644
index 0000000..6355423
--- /dev/null
+++ b/arch/arc/include/asm/processor.h
@@ -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 */