Linux-2.6.12-rc2
[linux-2.6/next.git] / drivers / w1 / w1_int.h
blobfdb531e87faa9ee93cf3f54bbf5c0b57b62a062d
1 /*
2 * w1_int.h
4 * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
5 *
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.
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.
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
22 #ifndef __W1_INT_H
23 #define __W1_INT_H
25 #include <linux/kernel.h>
26 #include <linux/device.h>
28 #include "w1.h"
30 struct w1_master * w1_alloc_dev(u32, int, int, struct device_driver *, struct device *);
31 void w1_free_dev(struct w1_master *dev);
32 int w1_add_master_device(struct w1_bus_master *);
33 void w1_remove_master_device(struct w1_bus_master *);
34 void __w1_remove_master_device(struct w1_master *);
36 #endif /* __W1_INT_H */