// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2004 IBM Corporation * Authors: * Leendert van Doorn <[email protected]> * Dave Safford <[email protected]> * Reiner Sailer <[email protected]> * Kylene Hall <[email protected]> * * Copyright (C) 2013 Obsidian Research Corp * Jason Gunthorpe <[email protected]> * * Device file system interface to the TPM */ #include <linux/slab.h> #include "tpm-dev.h" static int tpm_open(struct inode *inode, struct file *file) { … } /* * Called on file close */ static int tpm_release(struct inode *inode, struct file *file) { … } const struct file_operations tpm_fops = …;