X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fblock%2Facsi_slm.c;h=1d9d9b4f48ccca9070e02fb6bcacbdc465ad9700;hb=60c9b2746f589b0b809582b0471cf30ad3ae439f;hp=e04be94d195c5ecca5a8faf9cb0ca6fc24d9b09c;hpb=741441ab7800f1eb031e74fd720f4f8f361678ed;p=powerpc.git diff --git a/drivers/block/acsi_slm.c b/drivers/block/acsi_slm.c index e04be94d19..1d9d9b4f48 100644 --- a/drivers/block/acsi_slm.c +++ b/drivers/block/acsi_slm.c @@ -65,7 +65,6 @@ not be guaranteed. There are several ways to assure this: #include #include #include -#include #include #include @@ -269,7 +268,7 @@ static int slm_get_pagesize( int device, int *w, int *h ); static DEFINE_TIMER(slm_timer, slm_test_ready, 0, 0); -static struct file_operations slm_fops = { +static const struct file_operations slm_fops = { .owner = THIS_MODULE, .read = slm_read, .write = slm_write,