diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 17:33:37 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 17:33:37 -0400 |
| commit | eb1574270a6de8fb8d31ffc3b021e30df0afcda3 (patch) | |
| tree | d154ba369f222f5108ed1a2462d815d7faadc2e5 /include/linux/amba | |
| parent | aac10aaa8cc65a6fef6f5bc7d0b96035b0225a61 (diff) | |
| parent | 69964ea4c7b68c9399f7977aa5b9aa6539a6a98a (diff) | |
Merge 3.4-rc5 into driver-core-next
This was done to resolve a merge issue with the init/main.c file.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/amba')
| -rw-r--r-- | include/linux/amba/bus.h | 7 | ||||
| -rw-r--r-- | include/linux/amba/pl022.h | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index 7847e197730a..8d54f79457ba 100644 --- a/include/linux/amba/bus.h +++ b/include/linux/amba/bus.h | |||
| @@ -30,7 +30,6 @@ struct amba_device { | |||
| 30 | struct device dev; | 30 | struct device dev; |
| 31 | struct resource res; | 31 | struct resource res; |
| 32 | struct clk *pclk; | 32 | struct clk *pclk; |
| 33 | struct regulator *vcore; | ||
| 34 | u64 dma_mask; | 33 | u64 dma_mask; |
| 35 | unsigned int periphid; | 34 | unsigned int periphid; |
| 36 | unsigned int irq[AMBA_NR_IRQS]; | 35 | unsigned int irq[AMBA_NR_IRQS]; |
| @@ -75,12 +74,6 @@ void amba_release_regions(struct amba_device *); | |||
| 75 | #define amba_pclk_disable(d) \ | 74 | #define amba_pclk_disable(d) \ |
| 76 | do { if (!IS_ERR((d)->pclk)) clk_disable((d)->pclk); } while (0) | 75 | do { if (!IS_ERR((d)->pclk)) clk_disable((d)->pclk); } while (0) |
| 77 | 76 | ||
| 78 | #define amba_vcore_enable(d) \ | ||
| 79 | (IS_ERR((d)->vcore) ? 0 : regulator_enable((d)->vcore)) | ||
| 80 | |||
| 81 | #define amba_vcore_disable(d) \ | ||
| 82 | do { if (!IS_ERR((d)->vcore)) regulator_disable((d)->vcore); } while (0) | ||
| 83 | |||
| 84 | /* Some drivers don't use the struct amba_device */ | 77 | /* Some drivers don't use the struct amba_device */ |
| 85 | #define AMBA_CONFIG_BITS(a) (((a) >> 24) & 0xff) | 78 | #define AMBA_CONFIG_BITS(a) (((a) >> 24) & 0xff) |
| 86 | #define AMBA_REV_BITS(a) (((a) >> 20) & 0x0f) | 79 | #define AMBA_REV_BITS(a) (((a) >> 20) & 0x0f) |
diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h index b8c51124ed19..76dd1b199a1b 100644 --- a/include/linux/amba/pl022.h +++ b/include/linux/amba/pl022.h | |||
| @@ -25,6 +25,8 @@ | |||
| 25 | #ifndef _SSP_PL022_H | 25 | #ifndef _SSP_PL022_H |
| 26 | #define _SSP_PL022_H | 26 | #define _SSP_PL022_H |
| 27 | 27 | ||
| 28 | #include <linux/types.h> | ||
| 29 | |||
| 28 | /** | 30 | /** |
| 29 | * whether SSP is in loopback mode or not | 31 | * whether SSP is in loopback mode or not |
| 30 | */ | 32 | */ |
