xref: /openbmc/linux/drivers/gpu/host1x/bus.h (revision 4c79e98b)
1 /*
2  * Copyright (C) 2012 Avionic Design GmbH
3  * Copyright (C) 2012-2013, NVIDIA Corporation
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef HOST1X_BUS_H
19 #define HOST1X_BUS_H
20 
21 struct bus_type;
22 struct host1x;
23 
24 extern struct bus_type host1x_bus_type;
25 
26 int host1x_register(struct host1x *host1x);
27 int host1x_unregister(struct host1x *host1x);
28 
29 #endif
30