about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/linux/ch9344/fix-incompatible-pointer-types_6_3.patch
blob: b4cf265daac9c05303e323b8f5013d23f892c5d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ch9344.c b/ch9344.c
index a16af82..8922ed9 100644
--- a/ch9344.c
+++ b/ch9344.c
@@ -774,7 +774,7 @@ static inline void *tty_get_portdata(struct ch9344_ttyport *port)
     return (port->portdata);
 }
 
-static void ch9344_port_dtr_rts(struct tty_port *port, int raise)
+static void ch9344_port_dtr_rts(struct tty_port *port, bool raise)
 {
     struct ch9344_ttyport *ttyport = container_of(port, struct ch9344_ttyport, port);
     struct ch9344 *ch9344 = tty_get_portdata(ttyport);