blob: 47a05c96d884dd7043aa79a6c73707ff7d48b1b4 [file] [log] [blame]
Pratik Patel5f6d1af2012-06-13 15:48:13 -07001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __LINUX_OF_CORESIGHT_H
14#define __LINUX_OF_CORESIGHT_H
15
16#ifdef CONFIG_OF
17extern struct coresight_platform_data *of_get_coresight_platform_data(
18 struct device *dev, struct device_node *node);
19#else
20static inline struct coresight_platform_data *of_get_coresight_platform_data(
21 struct device *dev, struct device_node *node)
22{
23 return NULL;
24}
25#endif
26
27#endif