Browse Source

mISDN: Minor fixes

minor typo fix
compiler warning fix

Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Andreas Eversberg 16 years ago
parent
commit
1b36c78f26
2 changed files with 2 additions and 2 deletions
  1. 1 1
      drivers/isdn/hardware/mISDN/hfcmulti.c
  2. 1 1
      drivers/isdn/mISDN/l1oip_core.c

+ 1 - 1
drivers/isdn/hardware/mISDN/hfcmulti.c

@@ -135,7 +135,7 @@
  *	This register is needed for the TBR3 certification, so don't change it.
  *
  * clock:
- *	NOTE: only one clockdelay_te value must be given once
+ *	NOTE: only one clock value must be given once
  *	Selects interface with clock source for mISDN and applications.
  *	Set to card number starting with 1. Set to -1 to disable.
  *	By default, the first card is used as clock source.

+ 1 - 1
drivers/isdn/mISDN/l1oip_core.c

@@ -981,7 +981,7 @@ channel_dctrl(struct dchannel *dch, struct mISDN_ctrl_req *cq)
 		if (debug & DEBUG_L1OIP_SOCKET)
 			printk(KERN_DEBUG "%s: getting ip address.\n",
 				__func__);
-		(u32)cq->p1 = hc->remoteip;
+		cq->p1 = hc->remoteip;
 		cq->p2 = hc->remoteport | (hc->localport << 16);
 		break;
 	default: