X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fnet%2Fsk98lin%2Fh%2Fskdrv1st.h;h=e65a19f8794ae84386f46293730058e86b43fc8a;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=652775ecb3e628f8b406a3193442c629e759530d;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/net/sk98lin/h/skdrv1st.h b/drivers/net/sk98lin/h/skdrv1st.h index 652775ecb..e65a19f87 100644 --- a/drivers/net/sk98lin/h/skdrv1st.h +++ b/drivers/net/sk98lin/h/skdrv1st.h @@ -58,13 +58,6 @@ typedef struct s_AC SK_AC; #define SK_ADDR_EQUAL(a1,a2) (!memcmp(a1,a2,6)) -#if !defined(__OPTIMIZE__) || !defined(__KERNEL__) -#warning You must compile this file with the correct options! -#warning See the last lines of the source file. -#error You must compile this driver with "-O". -#endif - -#include #include #include #include @@ -73,8 +66,8 @@ typedef struct s_AC SK_AC; #include #include #include +#include #include -#include #include #include #include @@ -116,7 +109,7 @@ typedef struct s_AC SK_AC; #define SK_MAX_MACS 2 #define SK_MAX_NETS 2 -#define SK_IOC char* +#define SK_IOC char __iomem * typedef struct s_DrvRlmtMbuf SK_MBUF;