~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/include/dm/platdata.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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