diff options
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/mediabay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/macintosh/mediabay.c b/drivers/macintosh/mediabay.c index 831d7517c759..3f8d032f180f 100644 --- a/drivers/macintosh/mediabay.c +++ b/drivers/macintosh/mediabay.c | |||
@@ -63,7 +63,7 @@ struct media_bay_info { | |||
63 | int value_count; | 63 | int value_count; |
64 | int timer; | 64 | int timer; |
65 | struct macio_dev *mdev; | 65 | struct macio_dev *mdev; |
66 | struct mb_ops* ops; | 66 | const struct mb_ops* ops; |
67 | int index; | 67 | int index; |
68 | int cached_gpio; | 68 | int cached_gpio; |
69 | int sleeping; | 69 | int sleeping; |
@@ -669,7 +669,7 @@ static int media_bay_resume(struct macio_dev *mdev) | |||
669 | 669 | ||
670 | /* Definitions of "ops" structures. | 670 | /* Definitions of "ops" structures. |
671 | */ | 671 | */ |
672 | static struct mb_ops ohare_mb_ops = { | 672 | static const struct mb_ops ohare_mb_ops = { |
673 | .name = "Ohare", | 673 | .name = "Ohare", |
674 | .content = ohare_mb_content, | 674 | .content = ohare_mb_content, |
675 | .power = ohare_mb_power, | 675 | .power = ohare_mb_power, |
@@ -678,7 +678,7 @@ static struct mb_ops ohare_mb_ops = { | |||
678 | .un_reset_ide = ohare_mb_un_reset_ide, | 678 | .un_reset_ide = ohare_mb_un_reset_ide, |
679 | }; | 679 | }; |
680 | 680 | ||
681 | static struct mb_ops heathrow_mb_ops = { | 681 | static const struct mb_ops heathrow_mb_ops = { |
682 | .name = "Heathrow", | 682 | .name = "Heathrow", |
683 | .content = heathrow_mb_content, | 683 | .content = heathrow_mb_content, |
684 | .power = heathrow_mb_power, | 684 | .power = heathrow_mb_power, |
@@ -687,7 +687,7 @@ static struct mb_ops heathrow_mb_ops = { | |||
687 | .un_reset_ide = heathrow_mb_un_reset_ide, | 687 | .un_reset_ide = heathrow_mb_un_reset_ide, |
688 | }; | 688 | }; |
689 | 689 | ||
690 | static struct mb_ops keylargo_mb_ops = { | 690 | static const struct mb_ops keylargo_mb_ops = { |
691 | .name = "KeyLargo", | 691 | .name = "KeyLargo", |
692 | .init = keylargo_mb_init, | 692 | .init = keylargo_mb_init, |
693 | .content = keylargo_mb_content, | 693 | .content = keylargo_mb_content, |