/* show_flags - read method for flags file in sysfs  */
static ssize_t show_flags(struct device *dev, struct device_attribute *attr, char *buf)
/* show_flags - read method for flags file in sysfs  */
static ssize_t show_flags(struct device *dev, struct device_attribute *attr, char *buf)
{
	struct dock_station *dock_station = dev->platform_data;
	return snprintf(buf, PAGE_SIZE, "%d\n", dock_station->flags);
}