diff options
author | Jim Lieb <lieb@canonical.com> | 2009-07-24 00:22:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:02:07 (GMT) |
commit | d899d403862863cf2230432e18e7b294a517fd96 (patch) | |
tree | 1bf430371adb954ce3bfbfb1ad253835aee72162 /drivers/staging/vt6656/tmacro.h | |
parent | db6cb9036b2756c50efc43127c476786ea92eae2 (diff) | |
download | linux-d899d403862863cf2230432e18e7b294a517fd96.tar.xz |
Staging: vt665x: 64bit compile fixes Part 2
Fix compile problems with 64bit. These issues could cause corrupted
address crashes. Cleanup definition use to use more portable kernel
typedefs etc.
Signed-off-by: Jim Lieb <lieb@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/tmacro.h')
-rw-r--r-- | drivers/staging/vt6656/tmacro.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/tmacro.h b/drivers/staging/vt6656/tmacro.h index 3d932a2..b0933d8 100644 --- a/drivers/staging/vt6656/tmacro.h +++ b/drivers/staging/vt6656/tmacro.h @@ -117,10 +117,6 @@ /****** Misc macros ********************************************************/ -// get the field offset in the type(struct, class, ...) -#define OFFSET(type, field) ((int)(&((type NEAR*)1)->field)-1) - - /* string equality shorthand */ #define STR_EQ(x, y) (strcmp(x, y) == 0) #define STR_NE(x, y) (strcmp(x, y) != 0) |