X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Farm%2Foprofile%2Finit.c;h=cce3d3015eb7999d79143d72eaa061ff98337e29;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ac7dc6bd512053d946002643e84ffe1e11cabf56;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/arm/oprofile/init.c b/arch/arm/oprofile/init.c index ac7dc6bd5..cce3d3015 100644 --- a/arch/arm/oprofile/init.c +++ b/arch/arm/oprofile/init.c @@ -12,13 +12,14 @@ #include #include "op_arm_model.h" -int __init oprofile_arch_init(struct oprofile_operations **ops) +int __init oprofile_arch_init(struct oprofile_operations *ops) { int ret = -ENODEV; #ifdef CONFIG_CPU_XSCALE ret = pmu_init(ops, &op_xscale_spec); #endif + return ret; }