warning: initialization discards qualifiers from pointer target type
warning: no return statement in function returning non-void
static ssize_t show_dsp_lut(struct device *dev,
struct device_attribute *attr, char *buf)
{
-
+
+ return 0;
}
static ssize_t set_dsp_lut(struct device *dev,struct device_attribute *attr,
const char *buf, size_t count)
{
int dsp_lut[256];
- char *start = buf;
+ const char *start = buf;
int i=256,j,temp;
int space_max = 10;