Re: [PATCH 158/196] Driver core: convert block from raw kobjects
From: Greg KH
Date: Sat Jan 26 2008 - 02:33:08 EST
On Sat, Jan 26, 2008 at 12:23:18AM +0100, Alexander van Heukelum wrote:
> Fix build with CONFIG_BLOCK off.
>
> Building git-2d94dfc with CONFIG_BLOCK turned off gives me:
>
> drivers/base/core.c: In function 'device_add_class_symlinks':
> drivers/base/core.c:704: error: 'part_type' undeclared (first use in this function)
> drivers/base/core.c:704: error: (Each undeclared identifier is reported only once
> drivers/base/core.c:704: error: for each function it appears in.)
> drivers/base/core.c: In function 'device_remove_class_symlinks':
> drivers/base/core.c:743: error: 'part_type' undeclared (first use in this function)
>
> git-blame points to Kay Sievers.
>
> The problem is obvious. I think te solution is too ;).
Heh, thanks, I'll test this in the morning, it's been a long day...
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/