From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754157Ab0IUWk3 (ORCPT ); Tue, 21 Sep 2010 18:40:29 -0400 Received: from kroah.org ([198.145.64.141]:51289 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752966Ab0IUWkX (ORCPT ); Tue, 21 Sep 2010 18:40:23 -0400 Date: Tue, 21 Sep 2010 15:31:15 -0700 From: Greg KH To: Randy Dunlap Cc: Stephen Rothwell , Kay Sievers , gregkh@suse.de, linux-next@vger.kernel.org, LKML Subject: Re: [PATCH -next] driver core: fix build for CONFIG_BLOCK=n Message-ID: <20100921223115.GB21202@kroah.com> References: <20100920161239.f204a507.sfr@canb.auug.org.au> <20100920092034.0b3f5898.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100920092034.0b3f5898.randy.dunlap@oracle.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 20, 2010 at 09:20:34AM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build when CONFIG_BLOCK is not enabled (since SEP-06). > Fixes these build errors: > > drivers/base/core.c: In function 'get_device_parent': > drivers/base/core.c:622: error: 'block_class' undeclared (first use in this function) > drivers/base/core.c: In function 'device_add_class_symlinks': > drivers/base/core.c:712: error: 'block_class' undeclared (first use in this function) > drivers/base/core.c: In function 'device_remove_class_symlinks': > drivers/base/core.c:742: error: 'block_class' undeclared (first use in this function) > > Signed-off-by: Randy Dunlap This should no longer be needed with the next linux-next tree as the logic in this area has changed thanks to Andi's patch. thanks, greg k-h