|
@@ -102,7 +102,7 @@ struct ipmi_user {
|
|
struct kref refcount;
|
|
struct kref refcount;
|
|
|
|
|
|
/* The upper layer that handles receive messages. */
|
|
/* The upper layer that handles receive messages. */
|
|
- struct ipmi_user_hndl *handler;
|
|
|
|
|
|
+ const struct ipmi_user_hndl *handler;
|
|
void *handler_data;
|
|
void *handler_data;
|
|
|
|
|
|
/* The interface this user is bound to. */
|
|
/* The interface this user is bound to. */
|
|
@@ -919,7 +919,7 @@ static int intf_err_seq(ipmi_smi_t intf,
|
|
|
|
|
|
|
|
|
|
int ipmi_create_user(unsigned int if_num,
|
|
int ipmi_create_user(unsigned int if_num,
|
|
- struct ipmi_user_hndl *handler,
|
|
|
|
|
|
+ const struct ipmi_user_hndl *handler,
|
|
void *handler_data,
|
|
void *handler_data,
|
|
ipmi_user_t *user)
|
|
ipmi_user_t *user)
|
|
{
|
|
{
|