#include "cmm_internal.h"
#include "mdc_internal.h"
-static struct lu_device_operations mdc_lu_ops;
+static const struct lu_device_operations mdc_lu_ops;
static inline int lu_device_is_mdc(struct lu_device *ld)
{
ld->ld_ops == &mdc_lu_ops);
}
-static struct md_device_operations mdc_md_ops = { 0 };
+static const struct md_device_operations mdc_md_ops = { 0 };
static int mdc_obd_update(struct obd_device *host,
struct obd_device *watched,
RETURN(rc);
}
-static struct lu_device_operations mdc_lu_ops = {
+static const struct lu_device_operations mdc_lu_ops = {
.ldo_object_alloc = mdc_object_alloc,
.ldo_process_config = mdc_process_config
};
.ldto_init = mdc_type_init,
.ldto_fini = mdc_type_fini,
+ .ldto_start = mdc_type_start,
+ .ldto_stop = mdc_type_stop,
+
.ldto_device_alloc = mdc_device_alloc,
.ldto_device_free = mdc_device_free,