staging: easycap: use #ifndef __EASYCAP_H_ for header inclusion protection
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 22 Jan 2011 23:13:55 +0000 (01:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Jan 2011 22:43:04 +0000 (06:43 +0800)
use common #ifndef __EASYCAP_H_ instead of if (!defined(EASYCAP_H))
for protecting header from double inclusion

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap.h

index 26bb25f..360653c 100644 (file)
@@ -42,8 +42,8 @@
  */
 /*---------------------------------------------------------------------------*/
 
-#if (!defined(EASYCAP_H))
-#define EASYCAP_H
+#ifndef __EASYCAP_H__
+#define __EASYCAP_H__
 
 /*---------------------------------------------------------------------------*/
 /*
@@ -746,4 +746,4 @@ extern struct usb_class_driver easyoss_class;
 extern const struct file_operations easyoss_fops;
 #endif /*EASYCAP_NEEDS_ALSA*/
 
-#endif /*EASYCAP_H*/
+#endif /* !__EASYCAP_H__  */