Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933308AbYBNFXJ (ORCPT ); Thu, 14 Feb 2008 00:23:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751686AbYBNFWw (ORCPT ); Thu, 14 Feb 2008 00:22:52 -0500 Received: from 206-248-169-182.dsl.ncf.ca ([206.248.169.182]:62143 "EHLO phobos.cabal.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354AbYBNFWv (ORCPT ); Thu, 14 Feb 2008 00:22:51 -0500 Date: Thu, 14 Feb 2008 00:22:50 -0500 From: Kyle McMartin To: rubisher Cc: "rubi.sher" , kyle , clameter , bunk , kyle , matthew , grundler , linux-parisc , linux-kernel Subject: Re: parisc compile error Message-ID: <20080214052250.GB29980@phobos.i.cabal.ca> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1849 Lines: 55 On Wed, Feb 13, 2008 at 01:42:10PM +0100, rubisher wrote: > - some lake of changes of kset to kobj: thanks, i don't build this driver, somehow it made its way out of my configs. patch looks correct though. applied. > --- ./drivers/parisc/pdc_stable.c.Orig 2008-01-28 07:09:26.000000000 +0000 > +++ ./drivers/parisc/pdc_stable.c 2008-02-13 11:22:16.000000000 +0000 > @@ -829,7 +829,7 @@ > struct kobj_attribute *attr, > const char *buf, size_t count) > { > - return pdcs_auto_write(kset, attr, buf, count, PF_AUTOBOOT); > + return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOBOOT); > } > > /** > @@ -845,7 +845,7 @@ > struct kobj_attribute *attr, > const char *buf, size_t count) > { > - return pdcs_auto_write(kset, attr, buf, count, PF_AUTOSEARCH); > + return pdcs_auto_write(kobj, attr, buf, count, PF_AUTOSEARCH); > } > > /** > @@ -1066,7 +1066,7 @@ > } > > /* Don't forget the root entries */ > - error = sysfs_create_group(stable_kobj, pdcs_attr_group); > + error = sysfs_create_group(stable_kobj, &pdcs_attr_group); > > /* register the paths kset as a child of the stable kset */ > paths_kset = kset_create_and_add("paths", NULL, stable_kobj); > === <> === > > And the kernel build, but I don't yet try to boot it... > > Hth, > r. > --- > Scarlet One, ADSL 6 Mbps + Telephone, from EUR 29,95... > http://www.scarlet.be/ > > - > To unsubscribe from this list: send the line "unsubscribe linux-parisc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- 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/