git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
net
/
sk98lin
/
h
/
skdrv1st.h
diff --git
a/drivers/net/sk98lin/h/skdrv1st.h
b/drivers/net/sk98lin/h/skdrv1st.h
index
a4ed1a7
..
652775e
100644
(file)
--- a/
drivers/net/sk98lin/h/skdrv1st.h
+++ b/
drivers/net/sk98lin/h/skdrv1st.h
@@
-58,6
+58,13
@@
typedef struct s_AC SK_AC;
#define SK_ADDR_EQUAL(a1,a2) (!memcmp(a1,a2,6))
#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 <linux/version.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>