|
@@ -338,7 +338,7 @@ static struct miscdevice etb_miscdev = {
|
|
|
.fops = &etb_fops,
|
|
|
};
|
|
|
|
|
|
-static int __init etb_probe(struct amba_device *dev, struct amba_id *id)
|
|
|
+static int __init etb_probe(struct amba_device *dev, const struct amba_id *id)
|
|
|
{
|
|
|
struct tracectx *t = &tracer;
|
|
|
int ret = 0;
|
|
@@ -530,7 +530,7 @@ static ssize_t trace_mode_store(struct kobject *kobj,
|
|
|
static struct kobj_attribute trace_mode_attr =
|
|
|
__ATTR(trace_mode, 0644, trace_mode_show, trace_mode_store);
|
|
|
|
|
|
-static int __init etm_probe(struct amba_device *dev, struct amba_id *id)
|
|
|
+static int __init etm_probe(struct amba_device *dev, const struct amba_id *id)
|
|
|
{
|
|
|
struct tracectx *t = &tracer;
|
|
|
int ret = 0;
|