Commit f76f94a7 authored by Eric Anholt's avatar Eric Anholt

Supply proper NULL-terminated symbol lists to avoid crashing.

parent df333cc9
......@@ -28,6 +28,4 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define CH7xxx_ADDR_1 0x76
#define CH7xxx_SYMBOL_LIST "CH7xxxVidOutput"
#endif
......@@ -35,10 +35,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "ch7xxx/ch7xxx.h"
static const char *SIL164Symbols[] = {
SIL164_SYMBOL_LIST
"Sil164VidOutput",
NULL
};
static const char *CH7xxxSymbols[] = {
CH7xxx_SYMBOL_LIST
"CH7xxxVidOutput",
NULL
};
/* driver list */
......
......@@ -28,6 +28,4 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define SIL164_ADDR_1 0x38
#define SIL164_SYMBOL_LIST "SIL164VidOutput"
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment