Skip to content

Commit

Permalink
staging: easycap: use #ifndef __EASYCAP_H_ for header inclusion prote…
Browse files Browse the repository at this point in the history
…ction

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>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Jan 24, 2011
1 parent b4f63e9 commit 3dbab73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/easycap/easycap.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
*/
/*---------------------------------------------------------------------------*/

#if (!defined(EASYCAP_H))
#define EASYCAP_H
#ifndef __EASYCAP_H__
#define __EASYCAP_H__

/*---------------------------------------------------------------------------*/
/*
Expand Down Expand Up @@ -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__ */

0 comments on commit 3dbab73

Please sign in to comment.