linux-mips
[Top] [All Lists]

[PATCH] MIPS:i8259.c remove resume and shutdown to syscore_ops

To: Ralf Baechle <ralf@linux-mips.org>, Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH] MIPS:i8259.c remove resume and shutdown to syscore_ops
From: Wanlong Gao <wanlong.gao@gmail.com>
Date: Tue, 24 May 2011 22:25:12 +0800
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Pengfei Zhang <zoppof.zhang@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:cc:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=uCDWUZx5oOfCfie2Cgio0cNwcHlkb0glonmKvDynP7Q=; b=stcdEx+lNpdas/zeT8FSabwXhUl3aL8iwqpvCp5ufYfPuqo1298daMNzgKcX2AIbGA 9SurPcFXKyyLejtDHdBHNGZM2FviIx0fusNu3GJmQLTqmWpLWoE94YiSC6X3IAW5Xig0 9gON7F7Z2ybdFi+uKAaM0tr2eiRUXi1k8smII=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:content-type:organization:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Uq7DLmuGYtpRUoqiLRRl5iPDQ1CQqk5/W5+AKaJbZDS1TAKxUcE5R+JZYzGvvR5j5x DrhlpASu+Wm82bQ7XW1jHLVn2BoXB5SNNMuOe7SOjJPSe5t7h5WvrmbD7WzhXX4xMyjT qiCqQI/+zyutblf8dkJdNfe+r4+wzs2+d739Q=
Organization: Linux kernel
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: wanlong.gao@gmail.com
Sender: linux-mips-bounce@linux-mips.org
> On Tue, May 24, 2011 at 08:19:18PM +0800, Pengfei Zhang wrote:
> 
> > Remove the resume and shutdown of i8259A from the sysdev_class
> > to the syscore_ops since these members had removed from the
> > structure sysdev_class.
> 
> I don't see why one would want to want to first call
> register_syscore_ops
> then sysdev_class_register and sysdev_register?
> 
Hi Ralf:
If these not moved to syscore_ops, building will get error.

Hi Thomas:
Does you mean that we can just remove the sysfs entry now ?


Thanks
Best regards

Wanlong Gao


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