#define pr_fmt(fmt) …
#include <linux/device.h>
#include <linux/pci.h>
#include "ath5k.h"
#include "reg.h"
#define SIMPLE_SHOW_STORE(name, get, set) …
#define SIMPLE_SHOW(name, get) …
SIMPLE_SHOW_STORE(…);
SIMPLE_SHOW_STORE(…);
SIMPLE_SHOW_STORE(…);
SIMPLE_SHOW_STORE(…);
SIMPLE_SHOW_STORE(…);
SIMPLE_SHOW_STORE(…);
SIMPLE_SHOW(…);
static ssize_t ath5k_attr_show_noise_immunity_level_max(struct device *dev,
struct device_attribute *attr,
char *buf)
{ … }
static DEVICE_ATTR(noise_immunity_level_max, 0444,
ath5k_attr_show_noise_immunity_level_max, NULL);
static ssize_t ath5k_attr_show_firstep_level_max(struct device *dev,
struct device_attribute *attr,
char *buf)
{ … }
static DEVICE_ATTR(firstep_level_max, 0444,
ath5k_attr_show_firstep_level_max, NULL);
static struct attribute *ath5k_sysfs_entries_ani[] = …;
static struct attribute_group ath5k_attribute_group_ani = …;
int
ath5k_sysfs_register(struct ath5k_hw *ah)
{ … }
void
ath5k_sysfs_unregister(struct ath5k_hw *ah)
{ … }