linux-mips
[Top] [All Lists]

Re: [PATCH 1/12] mips: PMC MSP71xx core platform

To: Marc St-Jean <stjeanma@pmc-sierra.com>
Subject: Re: [PATCH 1/12] mips: PMC MSP71xx core platform
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Fri, 29 Jun 2007 10:33:30 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, ralf@linux-mips.org, Brian_Oostenbrink@pmc-sierra.com, linux-mips@linux-mips.org, Rod_Sillett@pmc-sierra.com
In-reply-to: <200706290105.l5T15UJC032272@pasqua.pmc-sierra.bc.ca>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200706290105.l5T15UJC032272@pasqua.pmc-sierra.bc.ca>
Sender: linux-mips-bounce@linux-mips.org
Hi,

On Thu, 28 Jun 2007 19:05:30 -0600
Marc St-Jean <stjeanma@pmc-sierra.com> wrote:

> diff --git a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c 
> b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c
> new file mode 100644
> index 0000000..6fa8572
> --- /dev/null
> +++ b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c
> @@ -0,0 +1,179 @@
> +/*
> + * Sets up interrupt handlers for various hardware switches which are
> + * connected to interrupt lines.
> + *
> + * Copyright 2005-2207 PMC-Sierra, Inc.
                     ^^^^


> +
> +#ifdef CONFIG_PMC_MSP7120_GW

You have already set "obj-$(CONFIG_PMC_MSP7120_GW) += msp_hwbutton.o" in 
Makefile.
It is not necessary.

> +
> +static int __init msp_hwbutton_setup(void)
> +{
> +#ifdef CONFIG_PMC_MSP7120_GW

same.

Yoichi


<Prev in Thread] Current Thread [Next in Thread>