Am Mittwoch 18 Juli 2007 schrieb Alain Degreffe:

+static int iuu_tiocmget(struct usb_serial_port *port, struct file *file)
+{
+       u8 *st;
+       int status ;
+       st = kmalloc(sizeof(u8), GFP_KERNEL);
+       if (!st)
+               return -ENOMEM ;
+       iuu_status(port, st);
+
+       dbg("%s (%d) msg ", __FUNCTION__, port->number);
+       if (st[0] & IUU_FULLCARD_IN) {
+               dbg("%s  card present ! value returned %i ", __FUNCTION__,
+                   TIOCM_CD);
+               status = 0 ;
+       } else {
+               status TIOCM_CD;

Could you make the code compileable and resubmit it?

        Regards
                Oliver


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to