driver core: remove KOBJ_NAME_LEN define
Kobjects do not have a limit in name size since a while, so stop pretending that they do. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f75b1c60fc
commit
aab0de2451
@@ -733,7 +733,7 @@ struct spi_board_info {
|
||||
* controller_data goes to spi_device.controller_data,
|
||||
* irq is copied too
|
||||
*/
|
||||
char modalias[KOBJ_NAME_LEN];
|
||||
char modalias[32];
|
||||
const void *platform_data;
|
||||
void *controller_data;
|
||||
int irq;
|
||||
|
Reference in New Issue
Block a user