Skip to content

Commit

Permalink
Merge pull request #2693 from haukepetersen/ng_netdev_fixconst
Browse files Browse the repository at this point in the history
net/ng_netdev: made pointer to driver const
  • Loading branch information
miri64 committed Mar 23, 2015
2 parents e431dc8 + 4968e54 commit 3fa96e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/include/net/ng_netdev.h
Expand Up @@ -168,9 +168,9 @@ typedef struct {
* @see ng_netdev_t
*/
struct ng_netdev {
ng_netdev_driver_t *driver; /**< pointer to the devices interface */
ng_netdev_event_cb_t event_cb; /**< netdev event callback */
kernel_pid_t mac_pid; /**< the driver's thread's PID */
ng_netdev_driver_t const *driver; /**< pointer to the devices interface */
ng_netdev_event_cb_t event_cb; /**< netdev event callback */
kernel_pid_t mac_pid; /**< the driver's thread's PID */
};

#ifdef __cplusplus
Expand Down

0 comments on commit 3fa96e5

Please sign in to comment.