tkey: Allow using the selected TKey from luks
Export the function which sets the current TKey so that the luks command can work with 'tkey connect'. Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
/* Static device pointer set by tkey connect command */
|
||||
static struct udevice *tkey_dev;
|
||||
|
||||
static struct udevice *tkey_get_device(void)
|
||||
struct udevice *tkey_get_device(void)
|
||||
{
|
||||
struct udevice *dev;
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user