diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-14 19:54:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-14 19:54:07 -0400 |
commit | 5a86102248592e178a9023359ccf7f0e489d8e35 (patch) | |
tree | 9e5fdb9aafca687fa412f7c034f2cfbb834b8567 /drivers/net/wireless/atmel.c | |
parent | 85082fd7cbe3173198aac0eb5e85ab1edcc6352c (diff) | |
parent | 751851af7aae9b8bd5a60b3897209081fbc18b2b (diff) |
Merge branch 'for-2.6.27' of git://git.infradead.org/users/dwmw2/firmware-2.6
* 'for-2.6.27' of git://git.infradead.org/users/dwmw2/firmware-2.6: (64 commits)
firmware: convert sb16_csp driver to use firmware loader exclusively
dsp56k: use request_firmware
edgeport-ti: use request_firmware()
edgeport: use request_firmware()
vicam: use request_firmware()
dabusb: use request_firmware()
cpia2: use request_firmware()
ip2: use request_firmware()
firmware: convert Ambassador ATM driver to request_firmware()
whiteheat: use request_firmware()
ti_usb_3410_5052: use request_firmware()
emi62: use request_firmware()
emi26: use request_firmware()
keyspan_pda: use request_firmware()
keyspan: use request_firmware()
ttusb-budget: use request_firmware()
kaweth: use request_firmware()
smctr: use request_firmware()
firmware: convert ymfpci driver to use firmware loader exclusively
firmware: convert maestro3 driver to use firmware loader exclusively
...
Fix up trivial conflicts with BKL removal in drivers/char/dsp56k.c and
drivers/char/ip2/ip2main.c manually.
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 438e63ecccf..d1acef7e0b1 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -560,7 +560,7 @@ static const struct { | |||
560 | static void build_wpa_mib(struct atmel_private *priv); | 560 | static void build_wpa_mib(struct atmel_private *priv); |
561 | static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); | 561 | static int atmel_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
562 | static void atmel_copy_to_card(struct net_device *dev, u16 dest, | 562 | static void atmel_copy_to_card(struct net_device *dev, u16 dest, |
563 | unsigned char *src, u16 len); | 563 | const unsigned char *src, u16 len); |
564 | static void atmel_copy_to_host(struct net_device *dev, unsigned char *dest, | 564 | static void atmel_copy_to_host(struct net_device *dev, unsigned char *dest, |
565 | u16 src, u16 len); | 565 | u16 src, u16 len); |
566 | static void atmel_set_gcr(struct net_device *dev, u16 mask); | 566 | static void atmel_set_gcr(struct net_device *dev, u16 mask); |
@@ -3853,7 +3853,7 @@ static int reset_atmel_card(struct net_device *dev) | |||
3853 | if (priv->card_type == CARD_TYPE_EEPROM) { | 3853 | if (priv->card_type == CARD_TYPE_EEPROM) { |
3854 | /* copy in firmware if needed */ | 3854 | /* copy in firmware if needed */ |
3855 | const struct firmware *fw_entry = NULL; | 3855 | const struct firmware *fw_entry = NULL; |
3856 | unsigned char *fw; | 3856 | const unsigned char *fw; |
3857 | int len = priv->firmware_length; | 3857 | int len = priv->firmware_length; |
3858 | if (!(fw = priv->firmware)) { | 3858 | if (!(fw = priv->firmware)) { |
3859 | if (priv->firmware_type == ATMEL_FW_TYPE_NONE) { | 3859 | if (priv->firmware_type == ATMEL_FW_TYPE_NONE) { |
@@ -4120,7 +4120,7 @@ static void atmel_writeAR(struct net_device *dev, u16 data) | |||
4120 | } | 4120 | } |
4121 | 4121 | ||
4122 | static void atmel_copy_to_card(struct net_device *dev, u16 dest, | 4122 | static void atmel_copy_to_card(struct net_device *dev, u16 dest, |
4123 | unsigned char *src, u16 len) | 4123 | const unsigned char *src, u16 len) |
4124 | { | 4124 | { |
4125 | int i; | 4125 | int i; |
4126 | atmel_writeAR(dev, dest); | 4126 | atmel_writeAR(dev, dest); |