linux/fs/pstore/pmsg.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2014  Google, Inc.
 */

#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include "internal.h"

static DEFINE_MUTEX(pmsg_lock);

static ssize_t write_pmsg(struct file *file, const char __user *buf,
			  size_t count, loff_t *ppos)
{}

static const struct file_operations pmsg_fops =;

static struct class *pmsg_class;
static int pmsg_major;
#define PMSG_NAME
#undef pr_fmt
#define pr_fmt(fmt)

static char *pmsg_devnode(const struct device *dev, umode_t *mode)
{}

void pstore_register_pmsg(void)
{}

void pstore_unregister_pmsg(void)
{}