]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/sep/sep_driver_api.h
staging/comedi/me4000: fix sparse warning "obsolete struct initializer"
[~andy/linux] / drivers / staging / sep / sep_driver_api.h
index 1207722d8b6a403698337aac3d25e172ce6bc82a..0f38d619842e7b54b4022ba57a0a8bafdc8d5c3d 100644 (file)
@@ -61,7 +61,7 @@ struct init_struct {
        u32   message_size_in_words;
 
        /* offset of the init message in the sep sram */
-       aligned_u64   sep_sram_addr;
+       u32   sep_sram_addr;
 
        /* -not used- resident size in bytes*/
        u32   unused_resident_size_in_bytes;
@@ -114,18 +114,6 @@ struct bld_syn_tab_struct {
 
 };
 
-/*
- * command struct for static pool addresses
- * Please note that this is a kernel virtual
- * address; this will be removed at the next
- * release of the Discretix middleware
- */
-struct stat_pool_addr_struct {
-       /* virtual address of the static pool */
-       aligned_u64 static_virt_address;
-};
-
-
 /* command struct for getting caller id value and address */
 struct caller_id_struct {
        /* pid of the process */
@@ -153,11 +141,11 @@ struct sep_dcblock {
        /* size of data in the first output mlli */
        u32     output_mlli_data_size;
        /* pointer to the output virtual tail */
-       u32     out_vr_tail_pt;
+       aligned_u64 out_vr_tail_pt;
        /* size of tail data */
        u32     tail_data_size;
        /* input tail data array */
-       u8      tail_data[64];
+       u8      tail_data[68];
 };
 
 struct sep_caller_id_entry {
@@ -275,7 +263,7 @@ struct sep_lli_entry {
 
 /* get the static pool area addersses (physical and virtual) */
 #define SEP_IOCGETSTATICPOOLADDR       \
-       _IOR(SEP_IOC_MAGIC_NUMBER, 8, struct stat_pool_addr_struct)
+       _IO(SEP_IOC_MAGIC_NUMBER, 8)
 
 /* start sep command */
 #define SEP_IOCSEPSTART         \