| .. | .. |
|---|
| 96 | 96 | struct fb_info *info); |
|---|
| 97 | 97 | static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma); |
|---|
| 98 | 98 | |
|---|
| 99 | | -static struct fb_ops mc68x328fb_ops = { |
|---|
| 99 | +static const struct fb_ops mc68x328fb_ops = { |
|---|
| 100 | 100 | .fb_check_var = mc68x328fb_check_var, |
|---|
| 101 | 101 | .fb_set_par = mc68x328fb_set_par, |
|---|
| 102 | 102 | .fb_setcolreg = mc68x328fb_setcolreg, |
|---|
| .. | .. |
|---|
| 405 | 405 | |
|---|
| 406 | 406 | int __init mc68x328fb_setup(char *options) |
|---|
| 407 | 407 | { |
|---|
| 408 | | -#if 0 |
|---|
| 409 | | - char *this_opt; |
|---|
| 410 | | -#endif |
|---|
| 411 | | - |
|---|
| 412 | 408 | if (!options || !*options) |
|---|
| 413 | 409 | return 1; |
|---|
| 414 | | -#if 0 |
|---|
| 415 | | - while ((this_opt = strsep(&options, ",")) != NULL) { |
|---|
| 416 | | - if (!*this_opt) |
|---|
| 417 | | - continue; |
|---|
| 418 | | - if (!strncmp(this_opt, "disable", 7)) |
|---|
| 419 | | - mc68x328fb_enable = 0; |
|---|
| 420 | | - } |
|---|
| 421 | | -#endif |
|---|
| 422 | 410 | return 1; |
|---|
| 423 | 411 | } |
|---|
| 424 | 412 | |
|---|