LINEARLY COMPACT MODULES AND LOCAL MORITA DUALITY