diff --git a/modules/wishbone/wishbone_pkg.vhd b/modules/wishbone/wishbone_pkg.vhd
index 92c30acbe335a4fc2dbb145834e64aed874d09aa..f3e194570e6d26803074c64e114fad9b16d04a37 100644
--- a/modules/wishbone/wishbone_pkg.vhd
+++ b/modules/wishbone/wishbone_pkg.vhd
@@ -44,7 +44,7 @@ package wishbone_pkg is
   end record t_wishbone_slave_out;
   subtype t_wishbone_master_in is t_wishbone_slave_out;
 
-  type t_wishbone_device_descriptor is std_logic_vector(255 downto 0);
+  subtype t_wishbone_device_descriptor is std_logic_vector(255 downto 0);
 
   component xwb_spi
     generic (