[Intel-gfx] [PATCH i-g-t 2/2] intel_chipset: Add multiple inclusion guards into intel_chipset.h

Daniel Vetter daniel at ffwll.ch
Tue Feb 19 14:00:28 CET 2013


On Mon, Feb 18, 2013 at 09:41:10PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Applied the two i-g-t patches.
-Daniel
> ---
>  lib/intel_chipset.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
> index 6b4fab3..f703239 100755
> --- a/lib/intel_chipset.h
> +++ b/lib/intel_chipset.h
> @@ -25,6 +25,9 @@
>   *
>   */
>  
> +#ifndef _INTEL_CHIPSET_H
> +#define _INTEL_CHIPSET_H
> +
>  #define PCI_CHIP_I810			0x7121
>  #define PCI_CHIP_I810_DC100		0x7123
>  #define PCI_CHIP_I810_E			0x7125
> @@ -274,3 +277,5 @@
>  
>  #define IS_CRESTLINE(devid)	((devid) == PCI_CHIP_I965_GM || \
>  				 (devid) == PCI_CHIP_I965_GME)
> +
> +#endif /* _INTEL_CHIPSET_H */
> -- 
> 1.7.12.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list