2 * dim2_sysfs.h - MediaLB sysfs information
4 * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
11 * This file is licensed under GPLv2.
14 /* Author: Andrey Shvetsov <andrey.shvetsov@k2l.de> */
19 #include <linux/kobject.h>
22 struct kobject kobj_group;
27 int dim2_sysfs_probe(struct medialb_bus *bus, struct kobject *parent_kobj);
28 void dim2_sysfs_destroy(struct medialb_bus *bus);
32 * must deliver MediaLB state as true if locked or false if unlocked
34 bool dim2_sysfs_get_state_cb(void);
36 #endif /* DIM2_SYSFS_H */