Skip to content

Commit 5e51d82

Browse files
MingcongBaiKexyBiscuit
authored andcommitted
AOSCOS: staging: sb105x: drop TTY_DRIVER_MAGIC assignment
Per commit 5052df9 ("tty: remove TTY_DRIVER_MAGIC"), the magic number "shoudl not need" to be defined. Let's see how it goes. Fixes: "AOSCOS: Revert "staging: sb105x: delete the driver"" Signed-off-by: Mingcong Bai <[email protected]> Signed-off-by: Kexy Biscuit <[email protected]>
1 parent 1d41d2b commit 5e51d82

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/staging/sb105x/sb_pci_mp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,6 @@ static int mp_register_driver(struct uart_driver *drv)
17361736
drv->tty_driver = normal;
17371737

17381738
normal->owner = drv->owner;
1739-
normal->magic = TTY_DRIVER_MAGIC;
17401739
normal->driver_name = drv->driver_name;
17411740
normal->name = drv->dev_name;
17421741
normal->major = drv->major;

0 commit comments

Comments
 (0)