• Adam Belay's avatar
    [PATCH 2.5] PnP changes to allow MODULE_DEVICE_TABLE() · b822f83d
    Adam Belay authored
    This patch fixes the MODULE_DEVICE_TABLE problems, the correct code was
    accidentally lost a few merges back.  It is from Daniel Ritz
    <daniel.ritz@gmx.ch>, below is the original message.
    
    hello adam, jaroslav, list
    
    this patch does:
    - rename struct pnp_card_id to pnp_card_device_id
    - fix all references to it
    
    this is needed for the MODULE_DEVICE_TABLE() macro to work with pnp_card's.
    jaroslav did this a while ago (changeset 1.879.79.1), but adam undid it a bit
    later (changeset 1.889.202.3). but why?
    
    w/o the patch gcc dies when compiling als100.c with the message 'storage size
    of __mod_pnp_card_device_table unknown' (this is from the macro).
    
    any reasons why i should not send this to linus?
    against 2.5.65-bk
    
    rgds
    -daniel
    b822f83d
es968.c 7.3 KB