[PATCH] mark struct file_operations const 3
[deliverable/linux.git] / drivers / block / acsi_slm.c
index e04be94d195c5ecca5a8faf9cb0ca6fc24d9b09c..e2e04329096385d3d9d34f08a933cbaa22f837d8 100644 (file)
@@ -269,7 +269,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,
This page took 0.040795 seconds and 5 git commands to generate.