Simon Glass | dd6ab88 | 2014-02-26 15:59:18 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2013 Google, Inc | ||||
3 | * | ||||
4 | * (C) Copyright 2012 | ||||
5 | * Pavel Herrmann <morpheus.ibis@gmail.com> | ||||
6 | * Marek Vasut <marex@denx.de> | ||||
7 | * | ||||
8 | * SPDX-License-Identifier: GPL-2.0+ | ||||
9 | */ | ||||
10 | |||||
11 | #ifndef _DM_PLATDATA_H | ||||
12 | #define _DM_PLATDATA_H | ||||
13 | |||||
14 | struct driver_info { | ||||
15 | const char *name; | ||||
16 | const void *platdata; | ||||
17 | }; | ||||
18 | |||||
19 | #define U_BOOT_DEVICE(__name) \ | ||||
20 | ll_entry_declare(struct driver_info, __name, driver_info) | ||||
21 | |||||
22 | #endif |