linux-mips
[Top] [All Lists]

Re: [PATCH v0] Loongson2: CPUFreq: add support to load module automatica

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH v0] Loongson2: CPUFreq: add support to load module automatically
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Thu, 03 Dec 2009 12:49:55 +0800
Cc: linux-mips@linux-mips.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Dave Jones <davej@redhat.com>, Dominik Brodowski <linux@dominikbrodowski.net>, cpufreq@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=gKoLoWmBvtSdWNBcSFxsoYdDuRidrXIZXVQMJ5HQtIU=; b=luN3Um5vKQj8mBfigdFT++xURjeg0hCu/5/nC3O22bkTX6NhjURkZ35HEUi/93iD1U qd3s9kQa6O5a/9sLyiztY311CUpZu6txUjPX4sVKUhLCb5cvjH2sgRHHeokqOQnlaWBt CtNogha3dvjUmjzIReEd15mS/rZh68WYjZjWY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=KLHT6fJfgFYNYg+h9RVE95EzDl4KDx5FZgkSxtsts9qOt787XsABg732aP2UX3QJii PZ6+KQoQMXVMZRGkBJet0x+bkPMsL85YOx2SKCOiIf/FCv4EfmjmgnY8Tr6qvgVvPAi0 XouB/UNTjm0P+xOKHoV/dufQJnwHEWVCat2VA=
In-reply-to: <8421507f5dfc1a70d1dba92ad7604a8bfaa5a447.1259805106.git.wuzhangjin@gmail.com>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <8421507f5dfc1a70d1dba92ad7604a8bfaa5a447.1259805106.git.wuzhangjin@gmail.com>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
[...]
> diff --git a/arch/mips/loongson/common/platform.c 
> b/arch/mips/loongson/common/platform.c
> new file mode 100644
> index 0000000..fdb24fd
> --- /dev/null
> +++ b/arch/mips/loongson/common/platform.c
> @@ -0,0 +1,32 @@
> +/*
> + * Copyright (C) 2009 Lemote Inc.
> + * Author: Wu Zhangjin, wuzj@lemote.com
> + *
> + * This program is free software; you can redistribute  it and/or modify it
> + * under  the terms of  the GNU General  Public License as published by the
> + * Free Software Foundation;  either version 2 of the  License, or (at your
> + * option) any later version.
> + */
> +
> +#include <linux/err.h>
> +#include <linux/platform_device.h>
> +
> +#include <asm/bootinfo.h>

The above header file is not needed.

Regards,
        Wu Zhangjin


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