mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 17:26:42 +09:00
staging: sm750fb: remove defintion of offsetof
There is no need to redefine offsetof Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7a81b9477a
commit
b108da7586
@@ -155,10 +155,6 @@ struct lynxfb_par {
|
||||
struct lynx_share *share;
|
||||
};
|
||||
|
||||
#ifndef offsetof
|
||||
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||||
#endif
|
||||
|
||||
static inline unsigned long ps_to_hz(unsigned int psvalue)
|
||||
{
|
||||
unsigned long long numerator = 1000*1000*1000*1000ULL;
|
||||
|
||||
Reference in New Issue
Block a user