summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-09-24 14:36:49 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:16:44 -0700
commitead454feb6cbfe0fa6a1eeb30aa9abc338dacf62 (patch)
treecb3ffe169218a0d923f4e7d642850e74874f7f76 /lib
parent7a868088ee48d1816c10f9be6d32aef4cf30bcf7 (diff)
downloadop-kernel-dev-ead454feb6cbfe0fa6a1eeb30aa9abc338dacf62.zip
op-kernel-dev-ead454feb6cbfe0fa6a1eeb30aa9abc338dacf62.tar.gz
driver core: fix build for CONFIG_BLOCK not enabled
Fix build errors when CONFIG_BLOCK is not enabled: drivers/base/core.c: In function 'get_device_parent': drivers/base/core.c:634: error: 'block_class' undeclared (first use in this function) drivers/base/core.c: In function 'device_add_class_symlinks': drivers/base/core.c:723: error: 'block_class' undeclared (first use in this function) drivers/base/core.c: In function 'device_remove_class_symlinks': drivers/base/core.c:751: error: 'block_class' undeclared (first use in this function) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud