Staging: comedi: Convert C99 style comments to traditional style comments
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / comedi / drivers / icp_multi.h
index 6df4a8d15ff2fe71c4fd68c6382bf12c4c114a19..c0abc1062b8d3ce46cd03277ae25b1fd5d390929 100644 (file)
@@ -28,7 +28,8 @@ struct pcilst_struct {
        unsigned int irq;
 };
 
-struct pcilst_struct *inova_devices;   // ptr to root list of all Inova devices
+struct pcilst_struct *inova_devices;
+/* ptr to root list of all Inova devices */
 
 /****************************************************************************/
 
@@ -150,14 +151,14 @@ static int find_free_pci_card_by_position(unsigned short vendor_id,
                        && (inova->pci_slot == pci_slot)) {
                        if (!(inova->used)) {
                                *card = inova;
-                               return 0;       // ok, card is found
+                               return 0;       /* ok, card is found */
                        } else {
-                               return 2;       // card exist but is used
+                               return 2;       /* card exist but is used */
                        }
                }
        }
 
-       return 1;               // no card found
+       return 1;               /* no card found */
 }
 
 /****************************************************************************/
@@ -243,7 +244,7 @@ static struct pcilst_struct *select_and_alloc_pci_card(unsigned short vendor_id,
        struct pcilst_struct *card;
        int err;
 
-       if ((pci_bus < 1) & (pci_slot < 1)) {   // use autodetection
+       if ((pci_bus < 1) & (pci_slot < 1)) {   /* use autodetection */
                if ((card = find_free_pci_card_by_device(vendor_id,
                                        device_id)) == NULL) {
                        rt_printk(" - Unused card not found in system!\n");