diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-02 06:02:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 21:54:53 -0700 |
commit | ca52a49846f1451163c0dc14c40cd06ff808df3e (patch) | |
tree | 88a3edfad7c5db3394657c2a5ce943d44e442e05 /drivers/mca | |
parent | aab0de245150c09e61c30962feb16aacde508dc3 (diff) | |
download | kernel_samsung_espresso10-ca52a49846f1451163c0dc14c40cd06ff808df3e.zip kernel_samsung_espresso10-ca52a49846f1451163c0dc14c40cd06ff808df3e.tar.gz kernel_samsung_espresso10-ca52a49846f1451163c0dc14c40cd06ff808df3e.tar.bz2 |
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 'drivers/mca')
-rw-r--r-- | drivers/mca/mca-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mca/mca-bus.c b/drivers/mca/mca-bus.c index 67b8e94..ef2dbfe 100644 --- a/drivers/mca/mca-bus.c +++ b/drivers/mca/mca-bus.c @@ -40,7 +40,7 @@ static struct mca_bus *mca_root_busses[MAX_MCA_BUSSES]; struct mca_device_info { short pos_id; /* the 2 byte pos id for this card */ - char name[DEVICE_NAME_SIZE]; + char name[50]; }; static int mca_bus_match (struct device *dev, struct device_driver *drv) |