aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/w1_int.h')
-rw-r--r--drivers/w1/w1_int.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/w1/w1_int.h b/drivers/w1/w1_int.h
new file mode 100644
index 000000000000..fdb531e87faa
--- /dev/null
+++ b/drivers/w1/w1_int.h
@@ -0,0 +1,36 @@
1/*
2 * w1_int.h
3 *
4 * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
5 *
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22#ifndef __W1_INT_H
23#define __W1_INT_H
24
25#include <linux/kernel.h>
26#include <linux/device.h>
27
28#include "w1.h"
29
30struct w1_master * w1_alloc_dev(u32, int, int, struct device_driver *, struct device *);
31void w1_free_dev(struct w1_master *dev);
32int w1_add_master_device(struct w1_bus_master *);
33void w1_remove_master_device(struct w1_bus_master *);
34void __w1_remove_master_device(struct w1_master *);
35
36#endif /* __W1_INT_H */