Let p be a prime and L be a finite extension of ℚp. We study the ordinary parts of GL2(L)-representations arised in the mod p cohomology of Shimura curves attached to indefinite division algebras which splits at a finite place above p. The main tool of the proof is a theorem of Emerton \cite{Em3}.