Message ID | 1447365462-16676-1-git-send-email-abrodkin@synopsys.com |
---|---|
State | Accepted, archived |
Delegated to: | Alexey Brodkin |
Headers | show |
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 --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 */
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