]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tpm: select ANON_INODES for proxy driver
authorArnd Bergmann <arnd@arndb.de>
Thu, 28 Apr 2016 10:46:13 +0000 (12:46 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
commita6885a53a3a2a61bf8f799712dc7a20fd2740adf
tree474f235b75d3082cd115917973b9cd5386321a8a
parentced01b9ffc482d45b57d368a6382e498aa24f66a
tpm: select ANON_INODES for proxy driver

The newly added vtpmx driver fails to build if CONFIG_ANON_INODES
is disabled:

drivers/char/built-in.o: In function `vtpmx_fops_ioctl':
(.text+0x97f8): undefined reference to `anon_inode_getfile'

This adds a Kconfig 'select' statement to ensure it's always there
when we need it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 794c38e01358 ("tpm: Proxy driver for supporting multiple emulated TPMs")
Acked-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/Kconfig