Ignore:
Timestamp:
2011-01-26T21:35:46+01:00 (6 years ago)
Author:
juhosg
Message:

generic: rtl8366s: allow initial register values to be passed via platform_data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/files/include/linux/rtl8366s.h

    r21952 r25120  
    1414#define RTL8366S_DRIVER_NAME    "rtl8366s" 
    1515 
     16struct rtl8366s_initval { 
     17        unsigned        reg; 
     18        u16             val; 
     19}; 
     20 
    1621struct rtl8366s_platform_data { 
    1722        unsigned        gpio_sda; 
    1823        unsigned        gpio_sck; 
     24        unsigned        num_initvals; 
     25        struct rtl8366s_initval *initvals; 
    1926}; 
    2027 
Note: See TracChangeset for help on using the changeset viewer.