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>
This commit is contained in:
parent
aab0de2451
commit
ca52a49846
7 changed files with 7 additions and 10 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue