Workaround for compilation errors by gcc 4.7
ops_type_db: register_ops: check return value of ops->install()