V4L/DVB (13899): gspca - all subdrivers: Make control descriptors constant.
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / gspca / spca501.c
index 6761a3048a98a5c50fb6fe0fb4c0b0382ba24514..c99333933e325c34cc79a68925099e0f9a378da1 100644 (file)
@@ -59,7 +59,7 @@ static int sd_getblue_balance(struct gspca_dev *gspca_dev, __s32 *val);
 static int sd_setred_balance(struct gspca_dev *gspca_dev, __s32 val);
 static int sd_getred_balance(struct gspca_dev *gspca_dev, __s32 *val);
 
-static struct ctrl sd_ctrls[] = {
+static const struct ctrl sd_ctrls[] = {
 #define MY_BRIGHTNESS 0
        {
            {