Driver core: Fix up build when CONFIG_BLOCK=N
authorGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 20:12:43 +0000 (12:12 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Jan 2008 23:01:38 +0000 (15:01 -0800)
commit4e886c29610f4374d8971ec7a248f011cc3bd73a
tree73028b1a6ae592bd1b774d98293d8c49e6c71b22
parent91525300baf162e83e923b09ca286f9205e21522
Driver core: Fix up build when CONFIG_BLOCK=N

This fixes up the driver core build errors when CONFIG_BLOCK=N

Thanks to Alexander van Heukelum <heukelum@mailshack.com> for the basis
of this patch, and to Jeremy Fitzhardinge <jeremy@goop.org> for
reporting the problem.

Cc: Alexander van Heukelum <heukelum@mailshack.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
drivers/base/core.c