staging: unisys: Remove unused driver
[deliverable/linux.git] / drivers / staging / unisys / visorbus / businst_attr.h
CommitLineData
3703987c
EA
1/* businst_attr.h
2 *
3 * Copyright (C) 2010 - 2013 UNISYS CORPORATION
4 * All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or (at
9 * your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
14 * NON INFRINGEMENT. See the GNU General Public License for more
15 * details.
16 */
17
18#ifndef __BUSINST_H__
19#define __BUSINST_H__
20
21#include "visorbus_private.h" /* just to get visorbus_devdata declaration */
22#include "timskmod.h"
23
24struct businst_attribute {
25 struct attribute attr;
26 ssize_t (*show)(struct visorbus_devdata*, char *buf);
27 ssize_t (*store)(struct visorbus_devdata*, const char *buf,
28 size_t count);
29};
30
31ssize_t businst_attr_show(struct kobject *kobj,
32 struct attribute *attr, char *buf);
33ssize_t businst_attr_store(struct kobject *kobj, struct attribute *attr,
34 const char *buf, size_t count);
35int businst_create_file(struct visorbus_devdata *bus,
36 struct businst_attribute *attr);
37void businst_remove_file(struct visorbus_devdata *bus,
38 struct businst_attribute *attr);
39
40#endif
This page took 0.025094 seconds and 5 git commands to generate.