From 88ab7348b1486b051e25f23e83569cec643b6707 Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 6 Jun 2017 12:07:40 +0200 Subject: [PATCH] bsim4 (4v8), hisimhv2, initialize cuDEVdestroy and DEVtopology slots --- src/spicelib/devices/bsim4/bsim4init.c | 4 ++++ src/spicelib/devices/hisimhv2/hsmhv2init.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/spicelib/devices/bsim4/bsim4init.c b/src/spicelib/devices/bsim4/bsim4init.c index 7cd1a89b4..85ac7b60d 100644 --- a/src/spicelib/devices/bsim4/bsim4init.c +++ b/src/spicelib/devices/bsim4/bsim4init.c @@ -71,6 +71,10 @@ SPICEdev BSIM4info = { .DEVbindCSCComplex = BSIM4bindCSCComplex, .DEVbindCSCComplexToReal = BSIM4bindCSCComplexToReal, #endif +#ifdef USE_CUSPICE + .cuDEVdestroy = NULL, + .DEVtopology = NULL, +#endif }; diff --git a/src/spicelib/devices/hisimhv2/hsmhv2init.c b/src/spicelib/devices/hisimhv2/hsmhv2init.c index bf7f5e04d..56fba5583 100644 --- a/src/spicelib/devices/hisimhv2/hsmhv2init.c +++ b/src/spicelib/devices/hisimhv2/hsmhv2init.c @@ -71,6 +71,10 @@ SPICEdev HSMHV2info = { .DEVbindCSCComplex = HSMHV2bindCSCComplex, .DEVbindCSCComplexToReal = HSMHV2bindCSCComplexToReal, #endif +#ifdef USE_CUSPICE + .cuDEVdestroy = NULL, + .DEVtopology = NULL, +#endif };