Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751338AbWAEOcm (ORCPT ); Thu, 5 Jan 2006 09:32:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751337AbWAEOcm (ORCPT ); Thu, 5 Jan 2006 09:32:42 -0500 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:53264 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S1751338AbWAEOcl (ORCPT ); Thu, 5 Jan 2006 09:32:41 -0500 To: LKML CC: Greg K-H Subject: [CFT 6/29] Add SA1111 bus_type probe/remove methods Date: Thu, 05 Jan 2006 14:32:32 +0000 Message-ID: <20060105142951.13.06@flint.arm.linux.org.uk> In-reply-to: <20060105142951.13.01@flint.arm.linux.org.uk> References: <20060105142951.13.01@flint.arm.linux.org.uk> From: Russell King Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 31 Signed-off-by: Russell King --- arch/arm/common/sa1111.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej -x .git linus/arch/arm/common/sa1111.c linux/arch/arm/common/sa1111.c --- linus/arch/arm/common/sa1111.c Fri Nov 11 21:20:00 2005 +++ linux/arch/arm/common/sa1111.c Sun Nov 13 15:55:17 2005 @@ -1247,14 +1247,14 @@ static int sa1111_bus_remove(struct devi struct bus_type sa1111_bus_type = { .name = "sa1111-rab", .match = sa1111_match, + .probe = sa1111_bus_probe, + .remove = sa1111_bus_remove, .suspend = sa1111_bus_suspend, .resume = sa1111_bus_resume, }; int sa1111_driver_register(struct sa1111_driver *driver) { - driver->drv.probe = sa1111_bus_probe; - driver->drv.remove = sa1111_bus_remove; driver->drv.bus = &sa1111_bus_type; return driver_register(&driver->drv); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/