static inline int device_is_not_partition(struct device *dev)
{
	return !(dev->type == &part_type);
}
static inline int device_is_not_partition(struct device *dev)
{
	return !(dev->type == &part_type);
}