Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
complete(&drive->gendev_rel_comp);
}
complete(&drive->gendev_rel_comp);
}
-/*
- * init_gendisk() (as opposed to ide_geninit) is called for each major device,
- * after probing for drives, to allocate partition tables and other data
- * structures needed for the routines in genhd.c. ide_geninit() gets called
- * somewhat later, during the partition check.
- */
static void init_gendisk (ide_hwif_t *hwif)
{
unsigned int unit;
static void init_gendisk (ide_hwif_t *hwif)
{
unsigned int unit;