Commit 3dbab733 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

staging: easycap: use #ifndef __EASYCAP_H_ for header inclusion protection

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: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b4f63e9a
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#if (!defined(EASYCAP_H)) #ifndef __EASYCAP_H__
#define EASYCAP_H #define __EASYCAP_H__
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/* /*
...@@ -746,4 +746,4 @@ extern struct usb_class_driver easyoss_class; ...@@ -746,4 +746,4 @@ extern struct usb_class_driver easyoss_class;
extern const struct file_operations easyoss_fops; extern const struct file_operations easyoss_fops;
#endif /*EASYCAP_NEEDS_ALSA*/ #endif /*EASYCAP_NEEDS_ALSA*/
#endif /*EASYCAP_H*/ #endif /* !__EASYCAP_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment