Staging: ced1401: Patch fixes missing parentheses in macro definitions.

Patch fixes missing parentheses in macro definitions.

Signed-off-by: Elena Ufimtseva <ufimtseva@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Elena Ufimtseva 2013-05-15 17:45:56 -04:00 committed by Greg Kroah-Hartman
parent 6dea0da1ff
commit c33033dbe0
2 changed files with 4 additions and 4 deletions

View File

@ -18,9 +18,9 @@
#ifdef _IS_WINDOWS_
#ifndef U14_NOT_DLL
#ifdef DLL_USE1401
#define U14API(retType) retType DllExport __stdcall
#define U14API(retType) (retType DllExport __stdcall)
#else
#define U14API(retType) retType DllImport __stdcall
#define U14API(retType) (retType DllImport __stdcall)
#endif
#endif
@ -36,7 +36,7 @@
#ifdef _QT
#ifndef U14_NOT_DLL
#undef U14API
#define U14API(retType) retType __declspec(dllimport) __stdcall
#define U14API(retType) (retType __declspec(dllimport) __stdcall)
#endif
#undef U14LONG
#define U14LONG int

View File

@ -34,7 +34,7 @@
#define U14_SENDSTRING CTL_CODE(FILE_DEVICE_CED1401, \
FNNUMBASE+2, \
METHOD_BUFFERED, \
FILE_ANY_ACCESS
FILE_ANY_ACCESS)
#define U14_RESET1401 CTL_CODE(FILE_DEVICE_CED1401, \
FNNUMBASE+3, \