// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 [email protected] */ #include <linux/slab.h> #include "tpm-dev.h" struct tpmrm_priv { … }; static int tpmrm_open(struct inode *inode, struct file *file) { … } static int tpmrm_release(struct inode *inode, struct file *file) { … } const struct file_operations tpmrm_fops = …;