|
@@ -1448,7 +1448,7 @@ int zd_rfwritev_locked(struct zd_chip *chip,
|
|
|
*/
|
|
|
int zd_rfwrite_cr_locked(struct zd_chip *chip, u32 value)
|
|
|
{
|
|
|
- struct zd_ioreq16 ioreqs[] = {
|
|
|
+ const struct zd_ioreq16 ioreqs[] = {
|
|
|
{ CR244, (value >> 16) & 0xff },
|
|
|
{ CR243, (value >> 8) & 0xff },
|
|
|
{ CR242, value & 0xff },
|
|
@@ -1475,7 +1475,7 @@ int zd_rfwritev_cr_locked(struct zd_chip *chip,
|
|
|
int zd_chip_set_multicast_hash(struct zd_chip *chip,
|
|
|
struct zd_mc_hash *hash)
|
|
|
{
|
|
|
- struct zd_ioreq32 ioreqs[] = {
|
|
|
+ const struct zd_ioreq32 ioreqs[] = {
|
|
|
{ CR_GROUP_HASH_P1, hash->low },
|
|
|
{ CR_GROUP_HASH_P2, hash->high },
|
|
|
};
|