Re: [PATCH 158/196] Driver core: convert block from raw kobjects

2008-01-27 Thread Greg KH
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 (fi

Re: [PATCH 158/196] Driver core: convert block from raw kobjects

2008-01-25 Thread Greg KH
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 (fi

Re: [PATCH 158/196] Driver core: convert block from raw kobjects

2008-01-25 Thread Alexander van Heukelum
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 identifi

[PATCH 158/196] Driver core: convert block from raw kobjects to core devices

2008-01-25 Thread Greg Kroah-Hartman
From: Kay Sievers <[EMAIL PROTECTED]> This moves the block devices to /sys/class/block. It will create a flat list of all block devices, with the disks and partitions in one directory. For compatibility /sys/block is created and contains symlinks to the disks. /sys/class/block |-- sda -> ../