Changeset 2b3dd78 in mainline for uspace/drv/platform/amdm37x/main.c


Ignore:
Timestamp:
2018-01-31T12:02:00Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5595841
Parents:
a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'upstream/master' into forwardport

change tmon includes because of new stdlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/amdm37x/main.c

    ra0a9cc2 r2b3dd78  
    4949typedef struct {
    5050        const char *name;
    51         match_id_t match_id;
     51        const char *id;
     52        int score;
    5253        hw_resource_list_t hw_resources;
    5354} amdm37x_fun_t;
     
    133134{
    134135        .name = "ohci",
    135         .match_id = { .id = "usb/host=ohci", .score = 90 },
     136        .id = "usb/host=ohci",
     137        .score = 90,
    136138        .hw_resources = { .resources = ohci_res, .count = ARRAY_SIZE(ohci_res) }
    137139},
    138140{
    139141        .name = "ehci",
    140         .match_id = { .id = "usb/host=ehci", .score = 90 },
     142        .id = "usb/host=ehci",
     143        .score = 90,
    141144        .hw_resources = { .resources = ehci_res, .count = ARRAY_SIZE(ehci_res) }
    142145},
    143146{
    144147        .name = "fb",
    145         .match_id = { .id = "amdm37x&dispc", .score = 90 },
     148        .id = "amdm37x&dispc",
     149        .score = 90,
    146150        .hw_resources = { .resources = disp_res, .count = ARRAY_SIZE(disp_res) }
    147151},
     
    174178       
    175179        /* Add match id */
    176         errno_t ret = ddf_fun_add_match_id(fnode,
    177             fun->match_id.id, fun->match_id.score);
     180        errno_t ret = ddf_fun_add_match_id(fnode, fun->id, fun->score);
    178181        if (ret != EOK) {
    179182                ddf_fun_destroy(fnode);
Note: See TracChangeset for help on using the changeset viewer.