Browse Source

bswap_16() exists; no need to use __bswap_16()

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
928c388c6f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/drivers/bus/isa_ids.c

+ 2
- 2
src/drivers/bus/isa_ids.c View File

@@ -13,14 +13,14 @@ char * isa_id_string ( uint16_t vendor, uint16_t product ) {
13 13
 	int i;
14 14
 
15 15
 	/* Vendor ID is a compressed ASCII string */
16
-	vendor = __bswap_16 ( vendor );
16
+	vendor = bswap_16 ( vendor );
17 17
 	for ( i = 2 ; i >= 0 ; i-- ) {
18 18
 		buf[i] = ( 'A' - 1 + ( vendor & 0x1f ) );
19 19
 		vendor >>= 5;
20 20
 	}
21 21
 	
22 22
 	/* Product ID is a 4-digit hex string */
23
-	sprintf ( &buf[3], "%hx", __bswap_16 ( product ) );
23
+	sprintf ( &buf[3], "%hx", bswap_16 ( product ) );
24 24
 
25 25
 	return buf;
26 26
 }

Loading…
Cancel
Save