diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-05-20 19:53:30 -0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-06-11 06:30:20 -0400 |
commit | 8593a1967fb9746d318dde88a0a39a36dbfc3445 (patch) | |
tree | 6e3d5e259ae08eab71c8442b2f7fa66bd1d39867 /drivers/net/wimax/i2400m/fw.c | |
parent | 10b1de6b774a531c9054ee01e734a85ffbab179e (diff) |
wimax/i2400m: rename misleading I2400M_PL_PAD to I2400M_PL_ALIGN
The constant is being use as an alignment factor, not as a padding
factor; made reading/reviewing the code quite confusing.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/fw.c')
-rw-r--r-- | drivers/net/wimax/i2400m/fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/fw.c b/drivers/net/wimax/i2400m/fw.c index 7ee1b99b3843..26924f17f19d 100644 --- a/drivers/net/wimax/i2400m/fw.c +++ b/drivers/net/wimax/i2400m/fw.c | |||
@@ -397,7 +397,7 @@ static int i2400m_download_chunk(struct i2400m *i2400m, const void *chunk, | |||
397 | unsigned int direct, unsigned int do_csum) | 397 | unsigned int direct, unsigned int do_csum) |
398 | { | 398 | { |
399 | int ret; | 399 | int ret; |
400 | size_t chunk_len = ALIGN(__chunk_len, I2400M_PL_PAD); | 400 | size_t chunk_len = ALIGN(__chunk_len, I2400M_PL_ALIGN); |
401 | struct device *dev = i2400m_dev(i2400m); | 401 | struct device *dev = i2400m_dev(i2400m); |
402 | struct { | 402 | struct { |
403 | struct i2400m_bootrom_header cmd; | 403 | struct i2400m_bootrom_header cmd; |