diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2005-04-29 11:09:44 -0400 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-05-04 02:31:50 -0400 |
commit | 5e54f91d8d770c5a48da10a5c9c314c1c926536b (patch) | |
tree | 3e453d56dda488e18b198b544345829aa7015fb2 /drivers/usb/serial/ftdi_sio.c | |
parent | 6f92872cc8085b9e65a8ec07aed106ce5d24f60b (diff) |
[PATCH] USB: ftdi_sio redundant macro removal
[ftdi_sio] Replaced redundant INTERFACE_A and INTERFACE_B macros with
the equivalent PIT_SIOA and PIT_SIOB macros.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
-rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index b31e09b099ef..0c4b43533268 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -1483,10 +1483,10 @@ static int ftdi_FT2232C_startup (struct usb_serial *serial) | |||
1483 | inter = serial->interface->altsetting->desc.bInterfaceNumber; | 1483 | inter = serial->interface->altsetting->desc.bInterfaceNumber; |
1484 | 1484 | ||
1485 | if (inter) { | 1485 | if (inter) { |
1486 | priv->interface = INTERFACE_B; | 1486 | priv->interface = PIT_SIOB; |
1487 | } | 1487 | } |
1488 | else { | 1488 | else { |
1489 | priv->interface = INTERFACE_A; | 1489 | priv->interface = PIT_SIOA; |
1490 | } | 1490 | } |
1491 | priv->baud_base = 48000000 / 2; /* Would be / 16, but FT2232C supports multiple of 0.125 divisor fractions! */ | 1491 | priv->baud_base = 48000000 / 2; /* Would be / 16, but FT2232C supports multiple of 0.125 divisor fractions! */ |
1492 | 1492 | ||