Skip to content

Commit

Permalink
ARM: at91: declare header name
Browse files Browse the repository at this point in the history
Add the header and define the macro to prevent multiple inclusion
like the others headers.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  • Loading branch information
Daniel Lezcano authored and Nicolas Ferre committed Feb 3, 2012
1 parent c54b7bb commit fa50ae9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/mach-at91/pm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* AT91 Power Management
*
* Copyright (C) 2005 David Brownell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef __ARCH_ARM_MACH_AT91_PM
#define __ARCH_ARM_MACH_AT91_PM

#ifdef CONFIG_ARCH_AT91RM9200
#include <mach/at91rm9200_mc.h>

Expand Down Expand Up @@ -95,3 +108,5 @@ static inline u32 sdram_selfrefresh_enable(void)
cpu_do_idle()

#endif

#endif

0 comments on commit fa50ae9

Please sign in to comment.