patch-2.3.48 linux/drivers/char/h8.h

Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/h8.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/drivers/char/h8.h linux/drivers/char/h8.h
@@ -229,7 +229,7 @@
  * H8 command buffers
  */
 typedef struct h8_cmd_q {
-        DLNODE(struct h8_cmd_q) link; /* double linked list */
+        struct list_head link;          /* double linked list */
         int             ncmd;           /* number of bytes in command */
         int             nrsp;           /* number of bytes in response */
         int             cnt;            /* number of bytes sent/received */
@@ -237,10 +237,6 @@
         u_char          cmdbuf[H8_MAX_CMD_SIZE]; /* buffer to store command */
         u_char          rcvbuf[H8_MAX_CMD_SIZE]; /* buffer to store response */
 } h8_cmd_q_t;
-
-typedef struct __queue_head {
-	DLNODE(struct h8_cmd_q) link;
-} queue_head_t;
 
 union   intr_buf {
         u_char  byte[2];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)