blob: 88fb1c4aac685c26e652594394f117c5241fe59f [file] [log] [blame]
Terje Bergstrom692e6d72013-03-22 16:34:07 +02001/*
Thierry Reding776dc382013-10-14 14:43:22 +02002 * Copyright (C) 2012 Avionic Design GmbH
3 * Copyright (C) 2012-2013, NVIDIA Corporation
Terje Bergstrom692e6d72013-03-22 16:34:07 +02004 *
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
Thierry Reding776dc382013-10-14 14:43:22 +020018#ifndef HOST1X_BUS_H
19#define HOST1X_BUS_H
Terje Bergstrom692e6d72013-03-22 16:34:07 +020020
Thierry Redingf4c5cf82014-12-18 15:29:14 +010021struct bus_type;
Thierry Reding776dc382013-10-14 14:43:22 +020022struct host1x;
Terje Bergstrom692e6d72013-03-22 16:34:07 +020023
Thierry Redingf4c5cf82014-12-18 15:29:14 +010024extern struct bus_type host1x_bus_type;
Terje Bergstrom692e6d72013-03-22 16:34:07 +020025
Thierry Reding776dc382013-10-14 14:43:22 +020026int host1x_register(struct host1x *host1x);
27int host1x_unregister(struct host1x *host1x);
Terje Bergstrom692e6d72013-03-22 16:34:07 +020028
29#endif