Fix zs.c serial callout driver
PATCH 1/1 Fix zs.c serial callout driver
[please CC me for replies, I'm not on this list]
Hello,
this should fix the serial callout driver for the non-devfs case. I haven't tested it because I have no such hardware.
Thiemo
drivers/sbus/char/zs.c +4 -0
@@ -2406,7 +2414,11 @@ int __init zs_init(void)* major number and the subtype code. */ callout_driver = serial_driver; +#ifdef CONFIG_DEVFS_FS callout_driver.name ="cua/%d" ; +#else + callout_driver.name ="cua" ; +#endif callout_driver.major =TTYAUX_MAJOR ; callout_driver.subtype =SERIAL_TYPE_CALLOUT ;