From dbef1e0271da298a0cbdc951dda84b7f150bbad0 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 23 Feb 2016 08:12:30 +0100 Subject: Stabilize merged code --- views/transform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/transform.c') diff --git a/views/transform.c b/views/transform.c index f2d4b4a..25f30d1 100644 --- a/views/transform.c +++ b/views/transform.c @@ -10,13 +10,13 @@ #include "transform.h" #include "py.h" #include "error.h" +#include "pci.h" static pcilib_view_context_t * pcilib_transform_view_init(pcilib_t *ctx, pcilib_view_t view) { int err; pcilib_view_context_t *view_ctx; - const pcilib_model_description_t *model_info = pcilib_get_model_description(ctx); - pcilib_transform_view_description_t *v = (pcilib_transform_view_description_t*)(model_info->views[view]); + pcilib_transform_view_description_t *v = (pcilib_transform_view_description_t*)(ctx->views[view]); if(v->script) { pcilib_access_mode_t mode = 0; -- cgit v1.2.3