static ssize_t show_card(struct device *cd,
struct device_attribute *attr, char *buf)
{
static ssize_t show_card(struct device *cd,
struct device_attribute *attr, char *buf)
{
struct bttv *btv = video_get_drvdata(vfd);
return sprintf(buf, "%d\n", btv ? btv->c.type : UNSET);
}
struct bttv *btv = video_get_drvdata(vfd);
return sprintf(buf, "%d\n", btv ? btv->c.type : UNSET);
}