diff options
author | Elena Ufimtseva <ufimtseva@gmail.com> | 2013-05-15 17:45:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-15 23:52:56 -0400 |
commit | c33033dbe00c0f89b93f9859628b2792b0cc1144 (patch) | |
tree | 976a173da1b6dce40af6cf28f87fd411af4bc551 /drivers/staging/ced1401 | |
parent | 6dea0da1fff9ec1fcfc989e13cde451d5e7604ce (diff) | |
download | op-kernel-dev-c33033dbe00c0f89b93f9859628b2792b0cc1144.zip op-kernel-dev-c33033dbe00c0f89b93f9859628b2792b0cc1144.tar.gz |
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>
Diffstat (limited to 'drivers/staging/ced1401')
-rw-r--r-- | drivers/staging/ced1401/use1401.h | 6 | ||||
-rw-r--r-- | drivers/staging/ced1401/use14_ioc.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ced1401/use1401.h b/drivers/staging/ced1401/use1401.h index 0ebadd5..80213ef 100644 --- a/drivers/staging/ced1401/use1401.h +++ b/drivers/staging/ced1401/use1401.h @@ -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 diff --git a/drivers/staging/ced1401/use14_ioc.h b/drivers/staging/ced1401/use14_ioc.h index be99c4a..a2f6e6e 100644 --- a/drivers/staging/ced1401/use14_ioc.h +++ b/drivers/staging/ced1401/use14_ioc.h @@ -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, \ |