]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/atm/mpc.h
net: atm: constify in_cache_ops and eg_cache_ops structures
[mirror_ubuntu-bionic-kernel.git] / net / atm / mpc.h
index 0919a88bbc70e8e0f39c231d89b5f076bb887a40..cfc7b745aa913a451a4790f98e47654e55ffac18 100644 (file)
@@ -21,11 +21,11 @@ struct mpoa_client {
        uint8_t our_ctrl_addr[ATM_ESA_LEN];  /* MPC's control ATM address   */
 
        rwlock_t ingress_lock;
-       struct in_cache_ops *in_ops; /* ingress cache operations            */
+       const struct in_cache_ops *in_ops; /* ingress cache operations      */
        in_cache_entry *in_cache;    /* the ingress cache of this MPC       */
 
        rwlock_t egress_lock;
-       struct eg_cache_ops *eg_ops; /* egress cache operations             */
+       const struct eg_cache_ops *eg_ops; /* egress cache operations       */
        eg_cache_entry *eg_cache;    /* the egress  cache of this MPC       */
 
        uint8_t *mps_macs;           /* array of MPS MAC addresses, >=1     */