diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2009-12-07 22:29:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:53:06 -0500 |
commit | af2ac1a091bc8bee73d7837b73ebfb00b917aece (patch) | |
tree | 33da619442861202456410d4b91d9658475e5255 /drivers/usb/serial/mct_u232.h | |
parent | 4fdb31d9665a9106190d9f8888cf06252c20f3ce (diff) |
USB: serial mct_usb232: move DMA buffers to heap
My distro kernel (Fedora Rawhide) started throwing warnings from DMA API
checker, so I have no choice but band-aid it quick. There's no attempt
to reuse DMA buffers. Control messages are only sent rarely anyway.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/mct_u232.h')
-rw-r--r-- | drivers/usb/serial/mct_u232.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/mct_u232.h b/drivers/usb/serial/mct_u232.h index 07b6bec31dc8..7417d5ce1e23 100644 --- a/drivers/usb/serial/mct_u232.h +++ b/drivers/usb/serial/mct_u232.h | |||
@@ -73,6 +73,8 @@ | |||
73 | #define MCT_U232_SET_CTS_REQUEST 12 | 73 | #define MCT_U232_SET_CTS_REQUEST 12 |
74 | #define MCT_U232_SET_CTS_SIZE 1 | 74 | #define MCT_U232_SET_CTS_SIZE 1 |
75 | 75 | ||
76 | #define MCT_U232_MAX_SIZE 4 /* of MCT_XXX_SIZE */ | ||
77 | |||
76 | /* | 78 | /* |
77 | * Baud rate (divisor) | 79 | * Baud rate (divisor) |
78 | * Actually, there are two of them, MCT website calls them "Philips solution" | 80 | * Actually, there are two of them, MCT website calls them "Philips solution" |