I'm not 100% sure, only 99.99% that PAGE_SIZE is always defined in Linux. So there is no need to check for it. Cc: Tomas Winkler <tomas.winkler@xxxxxxxxx> Cc: Mike Thomas <rmthomas@xxxxxxxxxxx> Signed-off-by: Kirill Smelkov <kirr@xxxxxxxxxx> --- drivers/staging/easycap/easycap.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/staging/easycap/easycap.h b/drivers/staging/easycap/easycap.h index 1f94e23..5d21620 100644 --- a/drivers/staging/easycap/easycap.h +++ b/drivers/staging/easycap/easycap.h @@ -85,10 +85,6 @@ #include <linux/videodev2.h> #include <linux/soundcard.h> -#ifndef PAGE_SIZE -#error "PAGE_SIZE not defined" -#endif /* PAGE_SIZE */ - /*---------------------------------------------------------------------------*/ /* VENDOR, PRODUCT: Syntek Semiconductor Co., Ltd * -- 1.7.6.rc1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel