summaryrefslogtreecommitdiffstats
path: root/pcilib/register.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-29 05:25:08 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-29 05:25:08 +0200
commita740fcee56bd456a759e03526df476e1791fb2bd (patch)
tree150af9b0b67abee77ae304b6d20516d8673bf52a /pcilib/register.h
parent0f8c3ffba654a5b05fa509f412c0b9d9de931c69 (diff)
downloadpcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.gz
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.bz2
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.tar.xz
pcitool-a740fcee56bd456a759e03526df476e1791fb2bd.zip
Create dummy register context
Diffstat (limited to 'pcilib/register.h')
-rw-r--r--pcilib/register.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pcilib/register.h b/pcilib/register.h
index 7514943..307e8a1 100644
--- a/pcilib/register.h
+++ b/pcilib/register.h
@@ -42,11 +42,10 @@ typedef struct {
const char *description; /**< Brief description of the register */
} pcilib_register_description_t;
-/*
+
typedef struct {
pcilib_register_bank_t bank;
} pcilib_register_context_t;
-*/
int pcilib_add_registers(pcilib_t *ctx, size_t n, const pcilib_register_description_t *registers);