Changeset 2003739 in mainline for uspace/lib/usbhost/src/ddf_helpers.c


Ignore:
Timestamp:
2015-03-16T16:33:56Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a25d893
Parents:
58775d30
Message:

libusbhost: Fix build on BE ssytems

not even const functions are allowed in initializers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/ddf_helpers.c

    r58775d30 r2003739  
    501501        /* Get max packet size for default pipe */
    502502        usb_standard_device_descriptor_t desc = { 0 };
    503         static const usb_device_request_setup_packet_t get_device_desc_8 =
     503        const usb_device_request_setup_packet_t get_device_desc_8 =
    504504            GET_DEVICE_DESC(CTRL_PIPE_MIN_PACKET_SIZE);
    505505
     
    542542                return got;
    543543        }
    544        
     544
    545545        /* Get std device descriptor */
    546         static const usb_device_request_setup_packet_t get_device_desc =
     546        const usb_device_request_setup_packet_t get_device_desc =
    547547            GET_DEVICE_DESC(sizeof(desc));
    548548
Note: See TracChangeset for help on using the changeset viewer.