Changeset ba358ed in mainline


Ignore:
Timestamp:
2011-04-10T15:35:28Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62bd8d3
Parents:
60c0573
Message:

Minor changes

  • ifdef guards renamed
Location:
uspace/drv/usbhid
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/generic/hiddev.h

    r60c0573 rba358ed  
    3434 */
    3535
    36 #ifndef USB_HIDDDEV_H_
    37 #define USB_HIDDDEV_H_
     36#ifndef USB_HID_HIDDDEV_H_
     37#define USB_HID_HIDDDEV_H_
    3838
    3939#include <usb/devdrv.h>
     
    4949    uint8_t *buffer, size_t buffer_size);
    5050
    51 #endif // USB_HIDDDEV_H_
     51#endif // USB_HID_HIDDDEV_H_
    5252
    5353/**
  • uspace/drv/usbhid/kbd/conv.h

    r60c0573 rba358ed  
    3434 */
    3535
    36 #ifndef USB_KBD_CONV_H_
    37 #define USB_KBD_CONV_H_
     36#ifndef USB_HID_CONV_H_
     37#define USB_HID_CONV_H_
    3838
    3939unsigned int usbhid_parse_scancode(int scancode);
    4040
    41 #endif /* USB_KBD_CONV_H_ */
     41#endif /* USB_HID_CONV_H_ */
    4242
    4343/**
  • uspace/drv/usbhid/kbd/kbddev.h

    r60c0573 rba358ed  
    3434 */
    3535
    36 #ifndef USB_KBDDEV_H_
    37 #define USB_KBDDEV_H_
     36#ifndef USB_HID_KBDDEV_H_
     37#define USB_HID_KBDDEV_H_
    3838
    3939#include <stdint.h>
     
    133133int usb_kbd_set_boot_protocol(struct usb_hid_dev *hid_dev);
    134134
    135 #endif /* USB_KBDDEV_H_ */
     135#endif /* USB_HID_KBDDEV_H_ */
    136136
    137137/**
  • uspace/drv/usbhid/kbd/kbdrepeat.h

    r60c0573 rba358ed  
    3434 */
    3535
    36 #ifndef USB_KBDREPEAT_H_
    37 #define USB_KBDREPEAT_H_
     36#ifndef USB_HID_KBDREPEAT_H_
     37#define USB_HID_KBDREPEAT_H_
    3838
    3939struct usb_kbd_t;
     
    6262void usb_kbd_repeat_stop(struct usb_kbd_t *kbd, unsigned int key);
    6363
    64 #endif /* USB_KBDREPEAT_H_ */
     64#endif /* USB_HID_KBDREPEAT_H_ */
    6565
    6666/**
  • uspace/drv/usbhid/layout.h

    r60c0573 rba358ed  
    3636 */
    3737
    38 #ifndef USB_KBD_LAYOUT_H_
    39 #define USB_KBD_LAYOUT_H_
     38#ifndef USB_HID_LAYOUT_H_
     39#define USB_HID_LAYOUT_H_
    4040
    4141#include <sys/types.h>
  • uspace/drv/usbhid/mouse/mousedev.h

    r60c0573 rba358ed  
    3434 */
    3535
    36 #ifndef USB_MOUSEDEV_H_
    37 #define USB_MOUSEDEV_H_
     36#ifndef USB_HID_MOUSEDEV_H_
     37#define USB_HID_MOUSEDEV_H_
    3838
    3939#include <usb/devdrv.h>
     
    7171/*----------------------------------------------------------------------------*/
    7272
    73 #endif // USB_MOUSEDEV_H_
     73#endif // USB_HID_MOUSEDEV_H_
    7474
    7575/**
  • uspace/drv/usbhid/usbhid.c

    r60c0573 rba358ed  
    5151/*----------------------------------------------------------------------------*/
    5252
    53 typedef struct usb_hid_callback_mapping {
    54         usb_hid_report_path_t *path;
    55         char *vendor_id;
    56         char *product_id;
    57 } usb_hid_callback_mapping;
    58 
    59 /*----------------------------------------------------------------------------*/
    60 
    6153/* Array of endpoints expected on the device, NULL terminated. */
    6254usb_endpoint_description_t *usb_hid_endpoints[USB_HID_POLL_EP_COUNT + 1] = {
  • uspace/drv/usbhid/usbhid.h

    r60c0573 rba358ed  
    3434 */
    3535
    36 #ifndef USB_USBHID_H_
    37 #define USB_USBHID_H_
     36#ifndef USB_HID_USBHID_H_
     37#define USB_HID_USBHID_H_
    3838
    3939#include <stdint.h>
     
    6363        usb_hid_driver_poll_ended poll_end;
    6464} usb_hid_subdriver_t;
     65
     66/*----------------------------------------------------------------------------*/
     67
     68typedef struct usb_hid_callback_mapping {
     69        usb_hid_report_path_t *path;
     70        char *vendor_id;
     71        char *product_id;
     72} usb_hid_callback_mapping_t;
    6573
    6674/*----------------------------------------------------------------------------*/
     
    126134void usb_hid_free(usb_hid_dev_t **hid_dev);
    127135
    128 #endif /* USB_USBHID_H_ */
     136#endif /* USB_HID_USBHID_H_ */
    129137
    130138/**
Note: See TracChangeset for help on using the changeset viewer.