From: Thomas Huth Date: Wed, 13 Apr 2022 09:44:16 +0000 (+0200) Subject: s390/vfio-ap: remove superfluous MODULE_DEVICE_TABLE declaration X-Git-Tag: v6.6.17~7340^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4b2945dc9c05a1b24282f4c6b2f41a2a52d18dd;p=platform%2Fkernel%2Flinux-rpi.git s390/vfio-ap: remove superfluous MODULE_DEVICE_TABLE declaration The vfio_ap module tries to register for the vfio_ap bus - but that's the interface that it provides itself, so this does not make much sense, thus let's simply drop this statement now. Signed-off-by: Thomas Huth Reviewed-by: Tony Krowiak Link: https://lore.kernel.org/r/20220413094416.412114-1-thuth@redhat.com Signed-off-by: Heiko Carstens --- diff --git a/drivers/s390/crypto/vfio_ap_drv.c b/drivers/s390/crypto/vfio_ap_drv.c index 29ebd54..4ac9c65 100644 --- a/drivers/s390/crypto/vfio_ap_drv.c +++ b/drivers/s390/crypto/vfio_ap_drv.c @@ -46,8 +46,6 @@ static struct ap_device_id ap_queue_ids[] = { { /* end of sibling */ }, }; -MODULE_DEVICE_TABLE(vfio_ap, ap_queue_ids); - static struct ap_matrix_mdev *vfio_ap_mdev_for_queue(struct vfio_ap_queue *q) { struct ap_matrix_mdev *matrix_mdev;