linux/drivers/media/pci/mgb4/mgb4_sysfs_pci.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2021-2022 Digiteq Automotive
 *     author: Martin Tuma <[email protected]>
 *
 * This module handles all the sysfs info/configuration that is related to the
 * PCI card device.
 */

#include <linux/device.h>
#include "mgb4_core.h"
#include "mgb4_sysfs.h"

static ssize_t module_version_show(struct device *dev,
				   struct device_attribute *attr, char *buf)
{}

static ssize_t module_type_show(struct device *dev,
				struct device_attribute *attr, char *buf)
{}

static ssize_t fw_version_show(struct device *dev,
			       struct device_attribute *attr, char *buf)
{}

static ssize_t fw_type_show(struct device *dev,
			    struct device_attribute *attr, char *buf)
{}

static ssize_t serial_number_show(struct device *dev,
				  struct device_attribute *attr, char *buf)
{}

static DEVICE_ATTR_RO(module_version);
static DEVICE_ATTR_RO(module_type);
static DEVICE_ATTR_RO(fw_version);
static DEVICE_ATTR_RO(fw_type);
static DEVICE_ATTR_RO(serial_number);

struct attribute *mgb4_pci_attrs[] =;