linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
[openwrt.git] / target / linux / generic / patches-2.6.30 / 975-hifn795x-byteswap.patch
1 --- a/drivers/crypto/hifn_795x.c
2 +++ b/drivers/crypto/hifn_795x.c
3 @@ -682,12 +682,12 @@ static inline u32 hifn_read_1(struct hif
4
5 static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val)
6 {
7 - writel((__force u32)cpu_to_le32(val), dev->bar[0] + reg);
8 + writel(val, dev->bar[0] + reg);
9 }
10
11 static inline void hifn_write_1(struct hifn_device *dev, u32 reg, u32 val)
12 {
13 - writel((__force u32)cpu_to_le32(val), dev->bar[1] + reg);
14 + writel(val, dev->bar[1] + reg);
15 }
16
17 static void hifn_wait_puc(struct hifn_device *dev)
This page took 0.039697 seconds and 5 git commands to generate.