diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-18 03:47:47 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-18 03:47:47 +0200 |
commit | c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd (patch) | |
tree | 53971a137e5d0e32ad7219f1d2fd01559c0a6ff3 /pcilib/pci.c | |
parent | 2e9457b666a303fab83aa17e33624f39de9a1dd7 (diff) | |
download | pcitool-c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd.tar.gz pcitool-c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd.tar.bz2 pcitool-c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd.tar.xz pcitool-c8628b2a715a7cfaaccbd7e403cd1c6c76b918cd.zip |
Support properties of arbitrary type
Diffstat (limited to 'pcilib/pci.c')
-rw-r--r-- | pcilib/pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pcilib/pci.c b/pcilib/pci.c index 4a0e79c..ae892a2 100644 --- a/pcilib/pci.c +++ b/pcilib/pci.c @@ -383,7 +383,7 @@ void pcilib_close(pcilib_t *ctx) { pcilib_return_lock(ctx, PCILIB_LOCK_FLAGS_DEFAULT, ctx->dma_wlock[dma]); } - pcilib_free_register_banks(ctx); + pcilib_free_register_banks(ctx, 0); if (ctx->event_plugin) pcilib_plugin_close(ctx->event_plugin); @@ -414,16 +414,16 @@ void pcilib_close(pcilib_t *ctx) { if (ctx->units) { - pcilib_clean_units(ctx); + pcilib_clean_units(ctx, 0); free(ctx->units); } if (ctx->views) { - pcilib_clean_views(ctx); + pcilib_clean_views(ctx, 0); free(ctx->views); } - pcilib_clean_registers(ctx); + pcilib_clean_registers(ctx, 0); if (ctx->register_ctx) free(ctx->register_ctx); |