mips: PMC MSP71xx core platform
Quoted 7 lines · Yoichi Yuasa
Hi,
Review
Quoted 1 line · On Thu, 28 Jun 2007 19:05:30 -0600 Marc St-Jean <[email protected]> wrote:
(quoted diff) +0
-0
b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c
Quoted 10 lines
arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c line 5
Quoted 10 lines
new file mode 100644
index 0000000..6fa8572arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c new file +5
-0@@ -0,0 +1,179 @@ +/* +* Sets up interrupt handlers for various hardware switches which are +* connected to interrupt lines. +* +* Copyright 2005-2207 PMC-Sierra, Inc.
Hi Yoichi,
I'm just making sure future updates are accounted for! ;)
Quoted 7 lines
arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c line 7
Quoted 2 lines
arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c new file +2
-0+ +#ifdef CONFIG_PMC_MSP7120_GW You have already set "obj-$(CONFIG_PMC_MSP7120_GW) += msp_hwbutton.o" in
Makefile.
It is not necessary.
Quoted 6 lines
arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c line 11
Quoted 4 lines
arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c new file +4
-0+ +static int __init msp_hwbutton_setup (void ) +{ +#ifdef CONFIG_PMC_MSP7120_GW same.
The file was actually coded so boards other than the MSP7120_GW can make use of it. At some point the "obj-$(CONFIG_PMC_MSP7120_GW) += msp_hwbutton.o" will be removed from the Makefile. I'd prefer to leave the board dependent code in the source at this time, but of course if this will gate acceptance I will remove it.
Thanks,
Marc