| .. | .. |
|---|
| 232 | 232 | return ret; |
|---|
| 233 | 233 | } |
|---|
| 234 | 234 | |
|---|
| 235 | | -static const struct file_operations prism2_download_aux_dump_proc_fops = { |
|---|
| 236 | | - .open = prism2_download_aux_dump_proc_open, |
|---|
| 237 | | - .read = seq_read, |
|---|
| 238 | | - .llseek = seq_lseek, |
|---|
| 239 | | - .release = seq_release_private, |
|---|
| 235 | +static const struct proc_ops prism2_download_aux_dump_proc_ops = { |
|---|
| 236 | + .proc_open = prism2_download_aux_dump_proc_open, |
|---|
| 237 | + .proc_read = seq_read, |
|---|
| 238 | + .proc_lseek = seq_lseek, |
|---|
| 239 | + .proc_release = seq_release_private, |
|---|
| 240 | 240 | }; |
|---|
| 241 | 241 | |
|---|
| 242 | 242 | |
|---|
| .. | .. |
|---|
| 407 | 407 | hcr); |
|---|
| 408 | 408 | return 0; |
|---|
| 409 | 409 | } else { |
|---|
| 410 | | - printk(KERN_DEBUG "Readback test failed, HCR 0x%02x " |
|---|
| 411 | | - "write %02x %02x %02x %02x read %02x %02x %02x %02x\n", |
|---|
| 412 | | - hcr, initseq[0], initseq[1], initseq[2], initseq[3], |
|---|
| 413 | | - readbuf[0], readbuf[1], readbuf[2], readbuf[3]); |
|---|
| 410 | + printk(KERN_DEBUG "Readback test failed, HCR 0x%02x write %4ph read %4ph\n", |
|---|
| 411 | + hcr, initseq, readbuf); |
|---|
| 414 | 412 | return 1; |
|---|
| 415 | 413 | } |
|---|
| 416 | 414 | } |
|---|