]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bsg: convert to dynamic major
authorJens Axboe <jens.axboe@oracle.com>
Tue, 17 Jul 2007 06:56:10 +0000 (08:56 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 17 Jul 2007 06:56:10 +0000 (08:56 +0200)
commit46f6ef4afc14ae1426883a973c18735cfcd70d8f
tree2e05e160899c50a36e3872e6a31581b78cc5bd57
parent25fd164303cd69eb5adfe7668d2c146dcd866163
bsg: convert to dynamic major

240 was hardcoded, that was clearly a dumb mistake. Convert bsg
to use alloc_chrdev_region() to retrieve a dynamic major.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/bsg.c