summaryrefslogtreecommitdiffstats
path: root/include/linux/eisa.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-05-02 06:02:41 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 21:54:53 -0700
commitca52a49846f1451163c0dc14c40cd06ff808df3e (patch)
tree88a3edfad7c5db3394657c2a5ce943d44e442e05 /include/linux/eisa.h
parentaab0de245150c09e61c30962feb16aacde508dc3 (diff)
downloadlinux-stable-ca52a49846f1451163c0dc14c40cd06ff808df3e.tar.gz
linux-stable-ca52a49846f1451163c0dc14c40cd06ff808df3e.tar.bz2
linux-stable-ca52a49846f1451163c0dc14c40cd06ff808df3e.zip
driver core: remove DEVICE_NAME_SIZE define
There is no such thing as a "device name size" in the driver core, so remove the define and fix up any users of this odd define in the rest of the kernel. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/eisa.h')
-rw-r--r--include/linux/eisa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/eisa.h b/include/linux/eisa.h
index fe806b6f030d..e61c0be2a459 100644
--- a/include/linux/eisa.h
+++ b/include/linux/eisa.h
@@ -40,7 +40,7 @@ struct eisa_device {
u64 dma_mask;
struct device dev; /* generic device */
#ifdef CONFIG_EISA_NAMES
- char pretty_name[DEVICE_NAME_SIZE];
+ char pretty_name[50];
#endif
};