Skip to content

Commit

Permalink
vfs0090: Add TOD driver entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Jun 16, 2020
1 parent 31e82be commit 560f844
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vfs0090.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ struct _FpiDeviceVfs0090

G_DEFINE_TYPE (FpiDeviceVfs0090, fpi_device_vfs0090, FP_TYPE_DEVICE)

GType
fpi_tod_shared_driver_get_type (void)
{
return fpi_device_vfs0090_get_type ();
}

G_DEFINE_AUTOPTR_CLEANUP_FUNC (EVP_CIPHER_CTX, EVP_CIPHER_CTX_free);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECDSA_SIG, ECDSA_SIG_free);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (EC_KEY, EC_KEY_free);
Expand Down
2 changes: 2 additions & 0 deletions vfs0090.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

G_DECLARE_FINAL_TYPE (FpiDeviceVfs0090, fpi_device_vfs0090, FPI, DEVICE_VFS0090, FpDevice)

GType fpi_tod_shared_driver_get_type (void);

#define DMI_PRODUCT_NAME_NODE "/sys/class/dmi/id/product_name"
#define DMI_PRODUCT_SERIAL_NODE "/sys/class/dmi/id/product_serial"

Expand Down

0 comments on commit 560f844

Please sign in to comment.